How to install my .xpi on firefox android

Neither ES File Explorer nor X-plore worked for me (as per Trasd's comment). I saw the three Firefox's, but none of them triggered to install the XPI.

The solution for me was creating an installer HTML file in the same directory as the .xpi files, like the following.

install.html:

<html><body>
<a href="adblockplus.xpi">ABP</a>
<a href="flashvideodownloader.xpi">FVD</a>
<!-- replace the above with the names of your add-ons in the same directory -->
</body></html>

Then, you can either:

  1. Enter the path to this install file directly in Firefox, e.g. file:///storage/sdcard0/MyXPIFiles/install.html
  2. Or, navigate to the file in your File Manager and open it in Firefox when prompted.

In Firefox viewing the install.html file you created, click on each link on the page, and you should see a prompt, "Firefox prevented this add-on from installing on your device." Just click "Allow", and it should install.

EDIT: Apologies, I see you said that navigating to a URL did not work for you. But if no one minds, I'll leave my answer here, cause it's the only one that worked for me, and maybe others too.


This is a problem because of the different Versions. I had the same problem as you. I tried to install the xpi manually. The trick is to install versions that are older. So currently Firefox v43 does not work. But v38 or v39 for Example works without any problem.

v42 for Example does not work. v41 works. It seems like they changed something here. Because the Explorer also offers 3 Options to Start Firefox with v42, but only 2 with v41.


Create github repository for your addon. Then get this extension:

https://addons.mozilla.org/en-US/firefox/addon/github-extension-installer/

Then go to your github repository with firefox on android, then make it display "desktop version of website" from firefox menu icon at top right, then click "add to firefox".

This is by far the easiest way to get addon from your computer onto android.