| OLD | NEW |
| 1 * How to update Android SDK for Linux/Mac OS X on GCS | 1 * How to update Android SDK for Linux/Mac OS X on GCS |
| 2 | 2 |
| 3 1. Run Android SDK Manager and update packages | 3 1. Run Android SDK Manager and update packages |
| 4 | 4 |
| 5 $ third_party/android_tools/sdk/tools/android update sdk | 5 $ third_party/android_tools/sdk/tools/android update sdk |
| 6 | 6 |
| 7 2. Choose/Update packages | 7 2. Choose/Update packages |
| 8 | 8 |
| 9 The following packages are currently installed: | 9 The following packages are currently installed: |
| 10 | 10 |
| 11 - Android SDK Tools 24.3.2 | 11 - Android SDK Tools 24.4.1 |
| 12 - Android SDK platform-tools 22 Rev.2 | 12 - Android SDK platform-tools 23.0.1 |
| 13 - Android SDK Build-tools 22.0.1 | 13 - Android SDK Build-tools 23.0.1 |
| 14 - Android 5.1.1 (API 22) | 14 - Android 6.0 (API 23) |
| 15 - SDK Platform 22 | 15 - SDK Platform 23 |
| 16 - Extras | 16 - Extras |
| 17 - Android Support Library 22.2 | 17 - Android Support Library 23.1 |
| 18 - Google Play services 25 | 18 - Google Play services 27 |
| 19 | 19 |
| 20 3. Run upload_android_tools.py -t sdk | 20 3. Run upload_android_tools.py -t sdk |
| 21 | 21 |
| 22 $ tools/android/upload_android_tools.py -t sdk | 22 $ tools/android/upload_android_tools.py -t sdk |
| 23 | 23 |
| 24 ---------------------------------------------------------------------- | 24 ---------------------------------------------------------------------- |
| 25 * How to update Android NDK for Linux/Mac OS X on GCS | 25 * How to update Android NDK for Linux/Mac OS X on GCS |
| 26 | 26 |
| 27 1. Download a new NDK binary (e.g. android-ndk-r10e-linux-x86_64.bin) | 27 1. Download a new NDK binary (e.g. android-ndk-r10e-linux-x86_64.bin) |
| 28 2. cd third_party/android_tools | 28 2. cd third_party/android_tools |
| 29 | 29 |
| 30 $ cd third_party/android_tools | 30 $ cd third_party/android_tools |
| 31 | 31 |
| 32 3. Remove the old ndk directory | 32 3. Remove the old ndk directory |
| 33 | 33 |
| 34 $ rm -rf ndk | 34 $ rm -rf ndk |
| 35 | 35 |
| 36 4. Run the new NDK binary file | 36 4. Run the new NDK binary file |
| 37 | 37 |
| 38 $ ./android-ndk-r10e-linux-x86_64.bin | 38 $ ./android-ndk-r10e-linux-x86_64.bin |
| 39 | 39 |
| 40 5. Rename the extracted directory to ndk | 40 5. Rename the extracted directory to ndk |
| 41 | 41 |
| 42 $ mv android-ndk-r10e ndk | 42 $ mv android-ndk-r10e ndk |
| 43 | 43 |
| 44 6. Run upload_android_tools.py -t ndk | 44 6. Run upload_android_tools.py -t ndk |
| 45 | 45 |
| 46 $ cd ../.. | 46 $ cd ../.. |
| 47 $ tools/android/upload_android_tools.py -t ndk | 47 $ tools/android/upload_android_tools.py -t ndk |
| OLD | NEW |