In the absence of nalexander to answer this, here's my shot:
> 0:06.69 configure: error: The program zipalign was not found. Use
> --with-android-sdk={android-sdk-dir}.
If you're using a recent pull of m-c or derivatives, it should be found
wherever it is in the SDK.
> Deselect all the new stuff that he wants me to download, install 3 updates
> for installed packages plus "Android SDK Build-tools" (API 20) which was not
> previously selected/installed (I think that should be added to the Wiki).
The Mac section has it, at least:
---
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" under Extras. In addition, you should
check an Android SDK Platform, such as Android 4.4.3 (API 19).
---
> But this doesn't fix the error.
Assuming that your tree is recent, you might need to re-run configure. rm
objdir/config.cache; ./mach configure.
> So "zipalign" is recognized when run in terminal, but "./mach build" still
> fails.
The build doesn't use your path, mostly; it uses the values from your
.mozconfig. I wouldn't bother putting zipalign in your path unless you manually
need to zipalign!
> My .mozconfig looks like this
>
> ac_add_options --with-android-ndk="$HOME/opt/android-ndk-r8e"
> ac_add_options
> --with-android-sdk="$HOME/opt/adt-bundle-linux/sdk/platforms/android-19"
Try using SDK 20 and SDK Tools 23 (and removing all other versions).
The SDK and the build tools need to agree on their version. If you change build
tools, you will need to clobber.
> ac_add_options --enable-application=mobile/android
> ac_add_options --target=arm-linux-androideabi
> ac_add_options --with-ccache
ccache is probably making your build slower unless you do a lot of
force-clobbers, for the record.
> I searched around and found this bug, which should actually make the problem
> less frequent.
> https://bugzilla.mozilla.org/show_bug.cgi?id=1032756
SDK 20 moved tools around. (I think SDK 19 did, too.)
The fix in that bug causes the build to search in all possible locations. If
you're using a recent 31+ tree, you have that fix.
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev