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!

elichai2
  • 1,365
  • 3
  • 14
  • 28
  • 1
    possible duplicate of [AVD Manager can't find tools\android.bat even though it's there](http://stackoverflow.com/questions/16753240/avd-manager-cant-find-tools-android-bat-even-though-its-there) – g00dy Jul 02 '13 at 11:55
  • but i can't open the SDK Manager... – elichai2 Jul 02 '13 at 12:26

4 Answers4

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
ashoka
  • 651
  • 6
  • 10
0

Taken from the possibly duplicated thread:

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

g00dy
  • 6,752
  • 2
  • 30
  • 43
  • Try to re-deploy maybe? That is re-install it in a different folder, as suggested by @Ashoka. – g00dy Jul 02 '13 at 12:39
  • 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') – elichai2 Jul 02 '13 at 12:42
  • "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. – g00dy Jul 02 '13 at 12:43
  • LOL and i didn't get why even google-translate don't know what is ti :) i'm now downloading the adt again... – elichai2 Jul 02 '13 at 12:55
  • :-))) Yeah, those mistakes are not visible at first, if you don't use english that often :) – g00dy Jul 02 '13 at 12:57
  • Thanks! The re-install did it (i don't know why, because i already tried to re-install) :) – elichai2 Jul 02 '13 at 13:01
0

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

WinHtaikAung
  • 414
  • 2
  • 11
-1

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

Zerhinne
  • 1,987
  • 2
  • 22
  • 43