2016.3 Can't assign android sdk
Answered
I have installed the latest intellij idea 2016.3. I have also attached the java 7 jdk to the ide configuration for project structre. And, i have run a console application to test that. here's my jdk path /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home
When i try to configure an androi sdk, which i have version 24 installed, it tells me that in addition to the android sdk, i must install java jsk 1.5, 1.6, 1.7. I have installed build tools, platform, and platform tools. I am not able to get past this. No java sdk of appropriate version found.
FWIW, i am using a mac os.
Please sign in to leave a comment.
Java 8 is required now: https://youtrack.jetbrains.com/issue/IDEA-162660.
That would be a bummer. I will give that a try. I thought 8 was only required for the ide. And it's crazy the error message says at most 1.7.
That worked. Thanks for your help. It's very unclear from their site, documentation, and error message but maybe I just didn't understand.
@Serge Baranov Why android java sdk version required java8 in idea2016?
In idea15 or before, it can changed jdk version for android in Project Setting, was it a bug?
This change was merged from Android Studio. Apparently, some tools require Java 8 now, please follow https://youtrack.jetbrains.com/issue/IDEA-162660 for updates.