How can I install Firefox in an Android emulator to develop web extensions?
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!
Additional System Details
- User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
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.
I've chosen the intel devices version for the emulator and it works great, thank you for your support Seburo!