Changes

Jump to: navigation, search

Mobile/Fennec/Android

1,825 bytes removed, 00:22, 27 September 2015
Android NDK and SDK version notes
=== Android NDK and SDK version notes ===
If your The Fennec build fails because you're missing one of system requires the Android/Google requirements, you can manually install a version by running the Android SDK manager, located at <tt>$ANDROID_SDK/tools/android</tt>. Members of the Fennec community are successfully building Fennec withfollowing versions:
* Android SDK Platform '''Android 5.1.1 (API 22)'''
* SDK Build Tools '''22.0.1'''or later* SDK Platform Tools '''22.0.1'''or later* Android SDK Tools '''2422.0.31'''or later* Android Support Repository '''15'''* Android Support Library '''22.2'''* Google Play Services '''2520'''or later* Google Repository '''19''' '''2015/08/26 "Support library 23 and SDK 22/23"''': Currently the latest support library version available is 23. This version requires you to build with SDK 23 but Fennec does not build with that SDK version just yet. You can find more about that [https://mail.mozilla.org/pipermail/mobile-firefox-dev/2015-August/001399.html in this mailing list posting]. If you are seeing the following build error then you will need to [https://mobile.etherpad.mozilla.org/109 manually downgrade your support library to version 22]:  /usr/local/opt/android-sdk/extras/android/support/v7/appcompat/res/values-v23/styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'. /usr/local/opt/android-sdk/extras/android/support/v7/appcompat/res/values-v23/styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.  "Google Play Services" is listed under Extras by the ''android'' package manager. You should ensure that the Support Library and SDK versions match. If you update the Support Library but don't switch to a or later SDK, you'll get errors that mention a newer version than your SDK, like this:  Warning: android.support.v4.view.accessibility .AccessibilityNodeInfoCompatApi22: can't find referenced method 'void setTraversalAfter(android.view.View,int)' in class android.view.accessibility.AccessibilityNodeInfo In the event that the NDK and SDK versions listed here are out of date, you can always find the [http://hg.mozilla.org/mozilla-central/annotate/tip/mobile/android/config/mozconfigs/common canonical version numbers that Mozilla uses to build Fennec in automation]. Look for the following variables:
* ANDROID_NDK_VERSION* ANDROID_NDK_VERSION_32BIT* ANDROID_SDK_VERSIONIf your build fails because you're missing one of the Android or Google requirements, your first step should be to run the <tt>mach bootstrap</tt>. If you don't want to run the bootstrapper, you can manually install by running the Android SDK manager: try <tt>mach android</tt>, or <tt>$ANDROID_SDK/tools/android</tt>.
{{bug|11087821207680}} tracks listing and enforcing these version requirements in one place in the source code.
== Learn more ==
Confirm
355
edits

Navigation menu