Set ANDROID_SDK_ROOT so gradle won't fail at finding the SDK root on initial pull.

This commit is contained in:
XsparkieX 2021-02-01 21:51:36 +01:00
parent a86c0bf269
commit 7f867d4df3

View file

@ -2,8 +2,9 @@
setlocal
cd ..
set adb="%AppData%\..\Local\Android\Sdk\platform-tools\adb.exe"
set make="%AppData%\..\Local\Android\Sdk\ndk\21.1.6352462\prebuilt\windows-x86_64\bin\make.exe"
set ANDROID_SDK_ROOT=%AppData%\..\Local\Android\Sdk
set adb="%ANDROID_SDK_ROOT%\platform-tools\adb.exe"
set make="%ANDROID_SDK_ROOT%\ndk\21.1.6352462\prebuilt\windows-x86_64\bin\make.exe"
set JAVA_HOME=C:\Program Files\Android\Android Studio\jre\jre
%make% -j %NUMBER_OF_PROCESSORS% debug