0

I have installed the Android SDK but I can't get the Adroid SDK manager to open. I have looked everywhere on the internet and this is what I have already done which didn't help:

1. run sdk as administrator

2. adding a path pointing to the JDK in all of these forms :

C:\Program Files\Java\jdk1.7.0_21\bin;%SystemRoot%\system32;

C:\Program Files\Java\jdk1.7.0_21\bin;

C:\Program Files\Java\jdk1.7.0_21\

C:\Program Files\Java\jdk1.7.0_21

C:/Program Files/Java/jdk1.7.0_21/bin;

none of them worked ..:-(

3. Step #1: Open up a command prompt. Step #2: Use the cd command to move to wherever you installed your Android SDK. Step #3: Run tools\android.

after doing it I got an error message that said that :

ERROR: No suitable Java found. In order to properly use the Android Developer Tools, you need a suitable version of Java installed on your system.

4. deleting 3 times the sdk and reinstalling it.

5. Deleting the .android folder from the user (C:/Users/[User Name]) directory

By the way I have Windows 7 , and I have downloaded the 64 -bits sdk. I am so helpless.. I ll appreciate a lot a solution... Shiran

4

2 回答 2

0

我有同样的问题。尝试添加环境变量:

JAVA_HOME : "C:\Java\jdk1.7.0_25\". 

它为我解决了问题。

于 2013-07-29T20:42:45.097 回答
0

WRT Ubuntu 14.04:

您的机器中可能没有全局安装 java。我的解决办法是:

sudo apt-get install openjdk-7-jdk

之后我能够运行 SDK 管理器。

于 2015-12-11T18:47:37.280 回答