搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Fennec build fails with Permission Denied Error android-4.4 execvp

  • 5 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 Kevin

more options

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

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)

more options

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.

more options

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.

more options

This would be better discussed at the Firefox for Android deveoper's mailing list. https://lists.mozilla.org/listinfo/dev-platforms-mobile

more options

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.

more options

Sorry, the list changed and pulled the old one out of my awesomebar history. https://mail.mozilla.org/listinfo/mobile-firefox-dev is live.