This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +39
-0
lines changed 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ # How to update Android SDK for Linux/Mac OS X on GCS
2
+
3
+ ## Android SDK
4
+
5
+ 1 . Run Android SDK Manager and update packages
6
+ $ third_party/android_tools/sdk/tools/android update sdk
7
+ 2 . Choose/Update packages
8
+ The following packages are currently installed:
9
+ - Android SDK Tools 25.2.5
10
+ - Android SDK platform-tools 28.0.1
11
+ - Android SDK Build-tools 28.0.3
12
+ - Android 9.0 (API 28)
13
+ - SDK Platform 28 rev. 6
14
+ - Extras
15
+ - Android Support Library 23.1
16
+ - Google Play services 49
17
+ 3 . Run upload_android_tools.py -t sdk
18
+ ```
19
+ $ tools/android/upload_android_tools.py -t sdk
20
+ ```
21
+
22
+ NOTE: If the gcloud upload fails there, it is possible to simply run
23
+ the command manually.
24
+
25
+ ----------------------------------------------------------------------
26
+
27
+ ## Android NDK
28
+ 1 . Download a new NDK binary (e.g. android-ndk-r10e-linux-x86_64.bin)
29
+ 2 . cd third_party/android_tools
30
+ $ cd third_party/android_tools
31
+ 3 . Remove the old ndk directory
32
+ $ rm -rf ndk
33
+ 4 . Run the new NDK binary file
34
+ $ ./android-ndk-r10e-linux-x86_64.bin
35
+ 5 . Rename the extracted directory to ndk
36
+ $ mv android-ndk-r10e ndk
37
+ 6 . Run upload_android_tools.py -t ndk
38
+ $ cd ../..
39
+ $ tools/android/upload_android_tools.py -t ndk
You can’t perform that action at this time.
0 commit comments