Android SDK not working
Asked Answered
G

4

3

The Android SDK doesn't open so i tried to open Android.bat to see the errors and I get this Error:

The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
Error: Could not find or load main class com.android.sdkmanager.Main
Press any key to continue . . .

Here is my Environment Variables:

ANDROID_SWT: C:\adt-bundle-windows-x86\sdk\tools\lib\x86.
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_25.
JDK_HOME: C:\Program Files\Java\jdk1.7.0_25.
PATH:(Sorted that it will be Readable)

C:\Python33\;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Microsoft Network Monitor 3\;
C:\adt-bundle-windows-x86\sdk\platform-tools;
C:\adt-bundle-windows-x86\sdk\tools;C:\PHP;
C:\Program Files\TortoiseSVN\bin;
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;
C:\Program Files\Microsoft Visual Studio 11.0\VC\bin;
C:\Program Files\OpenVPN\bin.

I searched the whole web and i couldn't find any answer, i would like if you will help me to fix it.
Thanks!

Grainger answered 2/7, 2013 at 11:53 Comment(2)
possible duplicate of AVD Manager can't find tools\android.bat even though it's thereDoorjamb
but i can't open the SDK Manager...Grainger
D
0

Taken from the possibly duplicated thread:

The latest SDK has AVD Manager in the SDK Manager itself. Open SDK Manager -> Tools -> Manage AVDs

Doorjamb answered 2/7, 2013 at 12:1 Comment(6)
Try to re-deploy maybe? That is re-install it in a different folder, as suggested by @Ashoka.Doorjamb
i'm sorry but i don't know English that well can what is "re-deploy" and "isre-install" (i know what is install :) but not what is 'isre')Grainger
"isre-install" is actually "is re-install". Stupid mistake, I've corrected it. Try installing the Android SDK again. It's not a good sign that you can't open the SDK Manager.Doorjamb
LOL and i didn't get why even google-translate don't know what is ti :) i'm now downloading the adt again...Grainger
:-))) Yeah, those mistakes are not visible at first, if you don't use english that often :)Doorjamb
Thanks! The re-install did it (i don't know why, because i already tried to re-install) :)Grainger
S
0

Did you try installing the JDK outside Program Files? That is install it in a directory, which does not have any spaces in the path. For example install the JDK in the following directory and try again

c:\installs\java
Sorilda answered 2/7, 2013 at 11:56 Comment(0)
D
0

Taken from the possibly duplicated thread:

The latest SDK has AVD Manager in the SDK Manager itself. Open SDK Manager -> Tools -> Manage AVDs

Doorjamb answered 2/7, 2013 at 12:1 Comment(6)
Try to re-deploy maybe? That is re-install it in a different folder, as suggested by @Ashoka.Doorjamb
i'm sorry but i don't know English that well can what is "re-deploy" and "isre-install" (i know what is install :) but not what is 'isre')Grainger
"isre-install" is actually "is re-install". Stupid mistake, I've corrected it. Try installing the Android SDK again. It's not a good sign that you can't open the SDK Manager.Doorjamb
LOL and i didn't get why even google-translate don't know what is ti :) i'm now downloading the adt again...Grainger
:-))) Yeah, those mistakes are not visible at first, if you don't use english that often :)Doorjamb
Thanks! The re-install did it (i don't know why, because i already tried to re-install) :)Grainger
S
0

Make Sdk update to repair the sdk bundle and try making some avds

Spahi answered 2/7, 2013 at 12:6 Comment(2)
How can i do it if i can't open the SDK Manager?Grainger
Uninstall it and re install it againSpahi
R
-1

Your JAVA_HOME might be configured wrongly. Trying changing the path to C:\Program Files\Java\jdk1.7.0_25\jre\bin

Riane answered 2/7, 2013 at 12:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.