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.

+3


source to share


3 answers


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.



+8


source


After updating / installing a new plugin in IntelliJ, sometimes Gradle plugins are distributed. Only in IntelliJ Flie -> Invalidate caches / Restart.



0


source


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

0


source







All Articles