简体   繁体   中英

Android studio 2.2.2 Gradle project refresh failed

I have installed Android studio 2.2.2 in Ubuntu14.04 LTS 32 - bit machine along with OpenJDK8 . And it is installed successfully.

But when i create a project or importing sample project it showing => Gradle project refresh failed.

Error:Process 'command '/home/paradigm/ANDROIDSTUDIO/android-studio/jre/bin/java'' finished with non-zero exit value 2

After updating JDK location with embedded/jvm it not changed. I did re-installed studio also. Is there any problem with Studio 2.2.2 ..?

or anything we need to set properties ..? please any one can help on this? thank you

Try to replace JRE from "/home/paradigm/ANDROIDSTUDIO/android-studio/" folder with JRE from your JDK. I had similar error with Android Device Monitor, and this, solved my problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM