Skip to content Skip to sidebar Skip to footer

Having Issues With Android Studio Project After Os X 10.9 Upgrade, Error With Cacerts

I'm having problems loading up an Android Studio project I started in Mountain Lion (10.8) and am now trying to run in Mavericks (10.9) but when I open a project Gradle fails with

Solution 1:

The problem seems to be a bad install of Java 1.6. When you upgrade to Mavericks, you normally have to reinstall Java 1.6 as it's not bundled with the OS as it was in previous OS X releases. See Installing Java on OS X 10.9 (Mavericks) for more details.

My installation of 1.6 on Mavericks gives me a cacerts directory in /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/security/c‌​acerts, which symlinks to /System/Library/Java/Support/CoreDeploy.bundle/Contents/Home/lib/security/cacer‌​ts.

I'm not sure why yours is under /Library/Java/JavaVirtualMachines instead, but if you're using the same installation of Java you had under Mountain Lion, maybe it didn't get properly uninstalled during the upgrade, and its link to cacerts is now broken.

Post a Comment for "Having Issues With Android Studio Project After Os X 10.9 Upgrade, Error With Cacerts"