Thanks!
El 28/07/17 a les 22:11, Reid Fleming ha escrit:
I have just finished building Icecat 52.2.1 for Android, and have found a
few minor problems. Building was done on Ubuntu 17.04 x86_64.
1) You must manually create obj-android/ or "./mach build" will build for
x86_64 instead of arm.
2) "./mach build" dies after emitting "Reticulating splines..."
The problem is that array elements beginning with "IceCat" in the file
mobile/android/base/android-services.mozbuild
are not in alphabetical order. Order them and rerun "./mach build".
3) "./mach build" fails because ANDROID_VERSION_CODE doesn't seem to be
set or properly computed anywhere. A solution is to modify the file
mobile/android/base/AndroidManifest.xml.in
and replace
ANDROID_VERSION_CODE
with something like "123456789" before rerunning "./mach build".
4) "./mach package" fails with the message:
ERROR: The following duplicated files are not allowed:
chrome/chrome/content/about.png
A solution to this problem is removing the file
obj-android/dist/bin/chrome/chrome/content/branding/about.png
before rerunning "./mach package".
5) "./mach package" fails quietly with the message:
ValueError: Don't know how to compute android:versionCode for CPU...
A solution is to edit the file
python/mozbuild/mozbuild/android_version_code.py
and change line 118 from
elif min_sdk == 15:
to
elif min_sdk == 15 or min_sdk == 11:
before rerunning "./mach package".
Reid
--
http://gnuzilla.gnu.org
--
http://gnuzilla.gnu.org