I am using android studio and after my most recent launch of the IDE i get a gradle error when I try to run the project. This is the error.
Error:Cause: net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions.getPid()I
I have made no changes from my code as of the last run, and for some reason this is now happening. Any help is much appreciated.
I restarted the IDE and it appears to work now. Still no idea as to the cause of the problem, however a quick restart seemed to work for now.
After update/install new plugin in IntelliJ sometimes Gradle plugin crushes. Just do in IntelliJ Flie -> Invalidate caches/Restart.
For me, I just modify 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