File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ def install_android_sdk():
102
102
packages = [
103
103
'platform-tools' ,
104
104
'cmdline-tools;latest' ,
105
- 'platforms;android-28 ' ,
106
- 'build-tools;29 .0.2 ' ,
105
+ 'platforms;android-33 ' ,
106
+ 'build-tools;33 .0.0 ' ,
107
107
'cmake;3.22.1' ,
108
108
'ndk;' + NDK_VER
109
109
]
@@ -116,11 +116,13 @@ def export_environment(ndk_only):
116
116
with open (os .path .join (ROOT_DIR , "environment.sh" ), "a" ) as myfile :
117
117
if not ndk_only :
118
118
myfile .write ("export ANDROID_SDK=" + ANDROID_SDK + "\n " )
119
+ myfile .write ("export ANDROID_HOME=" + ANDROID_SDK + "\n " )
119
120
myfile .write ("export ANDROID_NDK=" + ANDROID_NDK + "\n " )
120
121
121
122
with open (os .path .join (ROOT_DIR , "environment.ps1" ), "a" ) as myfile :
122
123
if not ndk_only :
123
124
myfile .write ("$env:ANDROID_SDK=\" " + ANDROID_SDK + "\" \n " )
125
+ myfile .write ("$env:ANDROID_HOME=\" " + ANDROID_SDK + "\" \n " )
124
126
myfile .write ("$env:ANDROID_NDK=\" " + ANDROID_NDK + "\" \n " )
125
127
126
128
def main (ndk_only ):
You can’t perform that action at this time.
0 commit comments