简体   繁体   中英

Android SDK won't install without JDK

Ok, so I'm having trouble installing my Android SDK on my Macbook Pro 2012 64bit running Bootcamp. I installed the new JDK 1.8 and its located in "C:\\Program Files\\Java\\jdk1.8.0_05\\" (I installed the 64 bit version becuase i did not see 32 bit.)

I try to install the SDK but it says i have to create an environmental variable to the path java.exe path b/c the JDK was not found. So i did. My system variable ,JAVA_HOME's, path was created to "C:\\Program Files\\Java\\jdk1.8.0_05\\bin\\" I also tried "C:\\Program Files\\Java\\jdk1.8.0_05\\bin\\java.exe" and "C:\\Program Files\\Java\\jdk1.8.0_05\\" and still no luck.

The same error message still occurs.

I also looked up this question before I typed this but all the answers gave me no luck. My main goal is to work on Android development with IntelliJ, so far I can create Java program with ease but with the SDK installing I can't work on my Android develpment, any help is appreciated.

修复它,首先我必须将JAVA_HOME设置为用户变量,然后我必须将反斜杠更改为正斜杠,例如“ C:/ program files / java / jdk1.8.0_05”,这很愚蠢,但是

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