為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How can I install Firefox in an Android emulator to develop web extensions?

more options

I've recently published a Firefox web extension which works on Desktop browsers and wanted to start now with the port for Android devices. As suggested in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Developing_WebExtensions_for_Firefox_for_Android , I've installed Android Studio and several Android emulators (Nexus 5x with Android Nougat, Oreo, etc.).

However, when I try to install Firefox from the Chrome store, I always receive the "Your device isn't compatible with this version." message. This is very frustrating as Firefox seems to be one of the few apps that can't be installed in the emulator (WhatsApp and Opera are installable, Facebook and Firefox are not).

I was wondering if the requirements for the app are set (mistakenly) too high? Or maybe I'm doing something wrong? How do you develop/debug your web extensions?

Thanks for your help!

I've recently published a Firefox web extension which works on Desktop browsers and wanted to start now with the port for Android devices. As suggested in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Developing_WebExtensions_for_Firefox_for_Android , I've installed Android Studio and several Android emulators (Nexus 5x with Android Nougat, Oreo, etc.). However, when I try to install Firefox from the Chrome store, I always receive the "Your device isn't compatible with this version." message. This is very frustrating as Firefox seems to be one of the few apps that can't be installed in the emulator (WhatsApp and Opera are installable, Facebook and Firefox are not). I was wondering if the requirements for the app are set (mistakenly) too high? Or maybe I'm doing something wrong? How do you develop/debug your web extensions? Thanks for your help!

被選擇的解決方法

Hi

You may want to try installing Firefox from an .apk file into your emulator or Android session.

The best place to go to get the .apk files would be here.

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

Hi

You may want to try installing Firefox from an .apk file into your emulator or Android session.

The best place to go to get the .apk files would be here.

more options

I've chosen the intel devices version for the emulator and it works great, thank you for your support Seburo!