Search code examples
androidandroid-studiogradleandroid-studio-2.0

Android Studio - Failed to complete Gradle execution - getPid()


I just installed Android Studio, I installed the recommended packages from the SDK Manager, now I am trying to build a sample app. I got this error message:

Failed to complete Gradle execution:
Cause:
net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions.getPid()

Any ideas how to solve this?


Solution

  • I got same issue, I restarted IDE. It started working fine after that.