Confirmed users
512
edits
m (Minor line-number change in a code link.) |
No edit summary |
||
Line 87: | Line 87: | ||
* Select at least the Android SDK, API level 6. Optionally you can install API levels 4 and 8. XXX it wasn't clear to me what's meant here. Do you mean in 'Installed Packages' or 'Available Packages'? there is no 'Android SDK, API level 6' here, anyway. XXX | * Select at least the Android SDK, API level 6. Optionally you can install API levels 4 and 8. XXX it wasn't clear to me what's meant here. Do you mean in 'Installed Packages' or 'Available Packages'? there is no 'Android SDK, API level 6' here, anyway. XXX | ||
* Click Install, Accept, etc. | * Click Install, Accept, etc. | ||
=== Quickstart (Mac) === | |||
There's no preconfigured NDK available for Mac, so the process is a little less straightforward. | |||
* Download [http://developer.android.com/sdk/ Android SDK] and unpack it | |||
* from the console, run | |||
$ /path/to/sdk/tools/android update sdk | |||
and install the recommended packages | |||
* Download [http://www.crystax.net/android/ndk-r4.php#download Crystax NDK] and unpack it | |||
* using the mozconfig from below, add | |||
ac_add_options --disable-webm | |||
ac_add_options --disable-crashreporter | |||
* in the console, perform the following | |||
cd /path/to/android-ndk-r4-crystax | |||
ln -s build/platforms/android-5/arch-arm/usr/include/sys/queue.h build/platforms/android-8/arch-arm/usr/include/sys/queue.h | |||
You should now be able to type |make -f client.mk build| in your srcdir and watch it build without problems. | |||
== Build Fennec for Android == | == Build Fennec for Android == |