4 ms·
Seconded. Is there a way to run Android apps in a VM on Linux? A VM for phone applications would be similar to a browser. A browser runs websites in a safe en
by TekMol 10y ago
Seconded.
Is there a way to run Android apps in a VM on Linux?
A VM for phone applications would be similar to a browser. A browser runs websites in a safe environment. A way to run apps in a safe environment would be nice.
- pmontra 10y agoLook at Genymotion, I'm using it on Ubuntu 16.04 to test Telegram and Messenger bots without having to do it on my phone. There are some hops to go through to install Google Play but they are documented. I'll post some links when I go back to my computer with my notes. Edit: instructions. I downloaded Genymotion from https://www.genymotion.com/pricing-and-licensing/ https://www.genymotion.com/pricing-and-licensing/ (Individual, Basic, which costs no money). It's enough to run Android but you don't have Google Play. I followed these general directions to install it https://inthecheesefactory.com/blog/how-to-install-google-services-on-genymotion/en https://inthecheesefactory.com/blog/how-to-install-google-se... However the filetrip link didn't work (and I don't know if I want to trust it) and the google apps failed to install. I googled and eventually downloaded these files: ARM to x86 translation: http://forum.xda-developers.com/android/general/guide-genymotion-play-store-supersu-t3396840 http://forum.xda-developers.com/android/general/guide-genymo... Google Play: https://www.androidfilehost.com/?fid=24591023225177410 https://www.androidfilehost.com/?fid=24591023225177410 (banks_dynamic_gapps) The latter is for Android 6 so you should run an Android 6 image on your emulated device. My computer is still fine after installing those two files in the Android emulator but I don't take responsibility. Don't know how verified they are.
- xorcist 10y agoMany. I've used Android-x86(.org) on KVM which worked so well I didn't pursue others. There is some semi-commercial fork called Remix OS that's more polished. If you only need to use an app and not the rest of the environment you can also run it as a Chrome plugin under ARC and not mess with virtualization at all.
- xenophonf 10y agoI can't connect to bdownload.fosshub.com, which hosts the Android-x86 images. Are those download links working for you?
- opello 10y agoThey also mirror releases to Sourceforge: https://sourceforge.net/projects/android-x86/files/ https://sourceforge.net/projects/android-x86/files/
- xenophonf 10y agoThank you, both!
- xorcist 10y agoFosshub was owned and trojaned some days ago, be careful with that site. The other download link should work (there are checksums in release notes).
- ewzimm 10y agoThere are multiple ways to run phone apps in a VM on Linux. If you just want to try something, the quickest would be to download Android Studio or Eclipse and use the built-in VM meant for development.
- hobo_mark 10y agoThere is a way to run Android apps in Chrome [1], which I refused to believe until I tried it with a random APK and worked perfectly. [1] https://developer.chrome.com/apps/getstarted_arc https://developer.chrome.com/apps/getstarted_arc