I am using Android Studio until I upgrade to 0.2.6. Now I can not compile or create a new project.
What's happening? I'm not sure, but I think Android Studio does not know where my sdk folder is (I mean the sdk folder, which is in my Android studio directory).
What I've done? I opened Android Studio as an administrator ( right click > open as administrator ). Then I go to Configure > Projects Defaults > Project Structure . I have only SDK (path C:\Program Files\Java\jdk1.7.0_25 ). I have not installed my SDK, then I click to add, and I find my sdk folder (sdk, which is in the android studio directory).
Ok ... result: the selected directory is not a valid home for the JDK.
What can I do?
source share