Mobile/Fennec/Android: Difference between revisions

Jump to navigation Jump to search
Updated SDK according to bug 1084498
(→‎Install Android NDK: fix typo: semicolon instead colon)
(Updated SDK according to bug 1084498)
Line 97: Line 97:
   ./adt-bundle-linux/sdk/tools/android
   ./adt-bundle-linux/sdk/tools/android


Members of the Fennec team are successfully building Fennec with SDK Build Tools '''version 20''', SDK Platform Tools '''20''', and Android SDK Tools '''23.0.2'''. You will also need the "Android Support Library" and "Google Play Services" under Extras. In addition, you should check an Android SDK Platform, such as '''Android 4.4.3 (API 19)'''. You can uninstall & remove all other/older SDK Platforms as well as older versions of the SDK Tools/SDK Build Tools/SDK Platform Tools, and doing so might in fact stop the build from getting confused.
Members of the Fennec team are successfully building Fennec with SDK Build Tools '''version 21''', SDK Platform Tools '''21''', and Android SDK Tools '''23.0.5'''. You will also need the "Android Support Library" and "Google Play Services" under Extras. In addition, you should check an Android SDK Platform, such as '''Android 5.0 (API 21)'''. You can uninstall & remove all other/older SDK Platforms as well as older versions of the SDK Tools/SDK Build Tools/SDK Platform Tools, and doing so might in fact stop the build from getting confused.


You will probably want to add the SDK's "tools", "build-tools", and "platform-tools" directories to the PATH environment variable in your shell, so that you can run [http://developer.android.com/guide/developing/tools/adb.html adb] and other tools easily. For example, if you installed the SDK in $HOME/opt, you could add the following line to the end of your .bashrc:
You will probably want to add the SDK's "tools", "build-tools", and "platform-tools" directories to the PATH environment variable in your shell, so that you can run [http://developer.android.com/guide/developing/tools/adb.html adb] and other tools easily. For example, if you installed the SDK in $HOME/opt, you could add the following line to the end of your .bashrc:
Line 151: Line 151:
The SDK download will take a while, make sure you have a decent internet connection and go get coffee, or maybe lunch.
The SDK download will take a while, make sure you have a decent internet connection and go get coffee, or maybe lunch.


<!-- You will need SDK version at least 19.
<!-- You will need SDK version at least 21.


<s>Ensure it's up to date with these commands:</s>
<s>Ensure it's up to date with these commands:</s>
Line 160: Line 160:
'''The above update commands will update your Android SDK tools to a version that does not work to build Firefox. Do not run them -- use the GUI updater instead:'''-->
'''The above update commands will update your Android SDK tools to a version that does not work to build Firefox. Do not run them -- use the GUI updater instead:'''-->


You will need to install support for Android API version 19. Run the Android SDK GUI updater:
You will need to install support for Android API version 21. Run the Android SDK GUI updater:


   ./adt-bundle-mac/sdk/tools/android
   ./adt-bundle-mac/sdk/tools/android


Members of the Fennec team are successfully building Fennec with SDK Build Tools '''version 20''', SDK Platform Tools '''20''', and Android SDK Tools '''23.0.2'''. You will also need the "Android Support Library" and "Google Play services" under Extras. In addition, you should check an Android SDK Platform, such as '''Android 4.4.3 (API 19)'''.
Members of the Fennec team are successfully building Fennec with SDK Build Tools '''version 21''', SDK Platform Tools '''21''', and Android SDK Tools '''23.0.5'''. You will also need the "Android Support Library" and "Google Play services" under Extras. In addition, you should check an Android SDK Platform, such as '''Android 5.0 (API 21)'''.


You will probably want to add the SDK's "tools", "build-tools", and "platform-tools" directories to the PATH environment variable in your shell, so that you can run [http://developer.android.com/guide/developing/tools/adb.html adb] and other tools easily. For example, if you installed the SDK in $HOME, you could add the following line to the end of your .bashrc:
You will probably want to add the SDK's "tools", "build-tools", and "platform-tools" directories to the PATH environment variable in your shell, so that you can run [http://developer.android.com/guide/developing/tools/adb.html adb] and other tools easily. For example, if you installed the SDK in $HOME, you could add the following line to the end of your .bashrc:
Confirmed users
333

edits

Navigation menu