Google recently announced the first set of Android apps available to run natively on Chrome OS, a feat made possible using a new ‘Android Runtime’ extension.
Now, a developer has figured out a way to bring Android Apps to Chrome on the desktop.
Performance of apps through the runtime is not fantastic. Any ambitions of running Dead Trigger 2 or other graphically intensive games should be put to one side.
Similarly, being both an unofficial repackaging of the official runtime and running outside of Chrome OS, system integration (e.g., webcam, speakers, etc.) may be patchy or non-existent.
The guide that follows is provided as-is, and without any guarantees of success. It should be considered highly experimental, buggy, unstable – possibly even flat out evil. Try it out of curiosity rather than heightened expectation and you should be fine.
How to Run Android Apps on Linux
To run Android apps on Linux through Chrome you will need, obviously, to install Chrome. Version 37 or higher is required. Honestly, if you’re going to be playing with a potentially unstable hack then you might as well download and install the unstable version of Google Chrome for Linux, too.
Already got a version of Chrome installed? You can install the Dev Channel version via the command line by running:
sudo apt-get install google-chrome-unstable
Next you need to download the custom-made — ergo officially not endorsed by Google or Chromium — Android Runtime created by Vlad Filippov. This differs from the official version in a number of ways, the chief being it can be used on desktop versions of the browser.
Once the runtime has fully downloaded you will need to extract the contents from the .zip files and move the resulting directory to ~/Home.
Now to install ARChon. Open Google Chrome and click the hamburger menu. Navigate through to the Tools > Extensions page and, near the top, check ‘Enable developer mode’.
Finally, click on the ‘load unpacked extension’ button and select the folder you previously placed into ~/Home.
The Runtime alone doesn’t do much by itself so you will need to create a compatible package from an Android app.
There are several ways to do this: either manually, on your desktop, or using a free Android app. We’re covering the manual method below, but OMG! Chrome! has a great walkthrough of using a desktop app called ‘Twerk’, and the Archon Packager tool for mobile.
The Manual Way (Not Recommended)
To do this first run:
sudo apt-get install npm nodejs nodejs-legacy
Ubuntu 64 user? You’ll want to grab the following library, too:
sudo apt-get install lib32stdc++6
Now run the command to install the script itself:
npm install -g chromeos-apk
Depending on your configuration you may need to need to run this latter command as sudo. If you’d prefer not to install npm modules with sudo, you can do so with some jiggery-pokery.
Now you’re in the home straight. Head over to Google to find an APK of an app you want to try out, bearing in mind not all Android apps will work, and those that do may be unstable or lack features.
Place your wanted Android APK in ~/Home, then return to Terminal to convert it using the following command, replacing the APK name with the one you want:
chromeos-apk replaceme.apk --archon
The command will take a few seconds to do its thing. Maybe have a blink. Actually, don’t blink.
You now have an ARChon-rocking Chrome APK extension-y folder-y thing waiting in your Home folder. All that’s left to do is install it to see if it works!
Head back into the chrome://extensions page, tap the ‘load unpacked extension’ button once again but this time select the folder the script above created.
The app should proceed to install without issue, but will it run without issue? Open the Chrome App Launcher or Apps Page and launch it to find out.
Since the ARChon runtime supports an unlimited number of Chromified APKs you can repeat the process as many times as you like. The Chrome APK subreddit is keeping track of success/failures, so if you’re feeling helpful be sure to post your findings there.
And, shameless plug: you can subscribe to and/or follow OMG! Chrome! on Twitter, Google+ or Facebook to stay up-to-date with all the latest Chrome, Chromecast and Chrome OS happenings.