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
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 !
delete
for /f "delims=" %%a in ('"%java_exe%" -jar lib\archquery.jar') do set swt_path=lib\%%a
add, if you using x86_64 system
set swt_path=lib\x86_64
otherwise
set swt_path=lib\x86
Add this line -:
set java_exe=%JAVA_HOME%\bin\java.exe
after these lines in your android.bat :
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF
and this line -:
set swt_path=lib\x86_64
after these lines :
rem Set SWT.Jar path based on current architecture (x86 or x86_64)
for /f "delims=" %%a in ('"%java_exe%" -jar lib\archquery.jar') do set swt_path=lib\%%a
In case your system is 32-bit, change
set swt_path=lib\x86_64
to
set swt_path=lib\x86
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With