Fennec build fails with Permission Denied Error android-4.4 execvp
While attempting to build Fennec, the following error occurs, right after processing passwrdmgr.properties:
make[5]: execvp: /home/brian/adt-bundle-linux/sdk/build-tools/android-4.4: Permission denied make[5]: *** [.aapt.deps] Error 127 make[4]: *** [mobile/android/base/libs] Error 2 make[3]: *** [libs] Error 2 make[2]: *** [default] Error 2 make[1]: *** [realbuild] Error 2 make: *** [build] Error2
Setup Details:
Windows 7 VMWare Player running Ubuntu Linux 13.10 and install according to
https://wiki.mozilla.org/Mobile/Fennec/Android#Building_Fennec
Help is appreciated
bearstate
所有回覆 (5)
Note: Before the above error that were two other errors .
1) The build complained that the adt-bundle-linux toolchain could not be found and required that it be added to .mozconfig. This was done.
2) The build complained that dx could not be found. The configure file was edited and the values $DX, $AAPT and $AIDL were all set to the adt-bundle-linux/sdk/build-tools/android-4.4 path.
The instructions given on the Mozilla Wiki did not work right for Android and several modifications were made to move it along. But this permission error is tough to figure out.
Problem found and resolved.
The downloaded adt-bundle-linux package, oddly enough, had bad permissions set in it. And this was not caused by my opening the zip and installing it.
I also moved DX, AAPT and AIDL into .profile and exported them, making it not necessary to put them in the configure file which is not created until mach is started.
This would be better discussed at the Firefox for Android deveoper's mailing list. https://lists.mozilla.org/listinfo/dev-platforms-mobile
The link you provided does not appear to be good. It redirects to a general listing of mail lists and on that lists, dev-platforms-mobile is not found.
Sorry, the list changed and pulled the old one out of my awesomebar history. https://mail.mozilla.org/listinfo/mobile-firefox-dev is live.