Nomade Nomade - 6 months ago 35
Android Question

ERROR: SWT folder '' does not exist. Please set ANDROID_SWT .. a get this error after a SDK update

My

SDK Manager
does not work after an
android sdk manager
update to the last version, the sdk manager.exe run correctly before the update. Now i get this message when i run the
android.bat
on the command line:

ERROR: SWT folder '' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.


can u give me a solution or some instruction to change into my android.bat

Answer

I added this line :

set java_exe=C:\Windows\System32\java.exe

after this lines in my android.bat :

rem Check we have a valid Java.exe in the path.
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF

the SDK Manager.exe run correctly now :D !

Comments