Android Studio Gradle Error: Reason: net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions.getPid () I
I am using android studio and after my last IDE run I am getting gradle error when trying to run the project. This is mistake.
Error: Reason: net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions.getPid () I
I haven't made any changes from my code since the last run, and for some reason this is happening now. Any help is greatly appreciated.
I restarted the IDE and now it works. Still no idea as to the cause of the problem, however the quick restart seems to work now.
After updating / installing a new plugin in IntelliJ, sometimes Gradle plugins are distributed. Only in IntelliJ Flie -> Invalidate caches / Restart.
For me, I just change the gradle -wrapper.properies file .
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
=> distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip