2019年展月6日更新:php
一、最近發現了一個能在linux下模擬arm的模擬器: xdroid,網址: https://www.linzhuotech.com/index.php/home/index/down.html, 特別好用。直接模擬arm。個人雲盤裏有其可執行程序。 (這個須要 5G 的根目錄空間,不推薦,太大了,這個是linux上運行,不是模擬器內運行。)
html
二、http://www.shashlik.io/, 這個也不錯。 如何使用: https://www.howtoforge.com/tutorial/how-to-install-and-run-android-apk-on-linux-with-shashlik/ ,以下是使用方法的描述:
linux
After Shashlik is installed, visit an APK database and download the application that you want to run with Shashlik. Then open a terminal on the location of the downloaded APKs and type the following command to install it to your system: 「/opt/shashlik/bin/shashlik-install name_of_apk_file」. As an example, I installed the Viber apk as shown in the following screenshot:android
Next step is to run the APK by typing the following command on the same terminal session: 「/opt/shashlik/bin/shashlik-run name_of_splash_png name_of_apk_file」. One important thing to note at this point is that during the installation, Shashlik has created and stored some required files in /.local/share/shashlik. Those files include the splash png image file and the userdata.img. Upon launching an APK, Shashlik looks for the file you have indicated in the command. So, if there is a splash.png corresponding to an application named test.apk, the command becomes: 「/opt/shashlik/bin/shashlik-run splash test.apk」. Here's how I did it for Viber。ios
To make things simpler, I should point out that the APKs are installed in our system with the command I showed previously, so if you look for them in the applications menu/dash you should find them and run them with a simple click. This however, may not work well for all apps, but if it does it's quite handy. Whatever the case, you should know how to run it from the terminal in order to get the insight needed to solve any issues.session
As there is currently no uninstall function implemented, you can manually remove the binaries installed by Shashlik by navigating to /.local/share/applications and deleting the corresponding files. This should remove them from your applications menu.架構
As the software hasn't even reached its first stable version, you can't fiddle with any options that could be critical to the user experience with certain apps. The case of setting the emulator to the landscape screen mode is a usual one, so here's how to do it. Open your file manager as administrator and navigate to /opt/shashlik/bin and open 「shashlik.run with your favorite text editor. Then locate the 「-noskin」 argument and replace it with 「-skin 480x320」 or any other resolution in the standard ratios.app
Shashlik may be unstable and not very powerful just yet, but the fact that it is very simple to use doesn't go unnoticed and unappreciated. With time, I am sure that it will become even leaner and even more successful in regards to how many apps it can run. People report demanding 3D games running well on Shashlik which is indicative of what the software can already do. Have fun testing Android apps on Linux, and good luck running them!ui
三、Anbox, 也不錯。this
網上介紹共計三種模擬器比較經常使用,分別是bluestacks、andy和Genymotion,前者支持ARM架構,中者支持遠程控制,後者啓動速度快,各有優缺點。
若是要用genymotion模擬arm的話,仍是放棄吧,直接用bluestacks。
houdini 是intel 研發的ARM binary translator
解決Android x86 系統的兼容性問題
能夠安裝各類安卓中文輸入法,容許各類安卓遊戲,號稱能夠兼容90%以上的安卓應用!
關鍵詞:Android x86中文輸入法應用兼容性。
在玩Android x86 系統的時候,不少童鞋們都發現沒有什麼應用能夠用,連中文輸入法都找不到。然而4.0 rc2 系統發佈時,也同時有了傳說中的arm Translator,今後Android x86能夠運行各類各樣的arm應用了!
向arm Translator的原做者致敬。本人是在以下這個連接學到的http://www.charlesmaggs.com/home/vocation/links/linux-resources-current/embedded-linux/android
arm Translator的安裝很簡單,只要下載兩個文件和一個文件夾複製到安卓x86系統的/system/lib下就行了。安裝需求:Android x86 4.0
文件1:http://www.buildroid.org/Download/libhoudini.so
文件2:http://www.buildroid.org/Download/libdvm_houdini.so
文件夾:http://www.buildroid.org/Download/houdini_armlibs.tgz
將最後一個連接的文件下載下來後,解壓縮獲得一大堆文件,新建個文件夾叫作arm把這些文件放進去,而後把前兩個文件,和這個名叫arm的文件夾一塊兒複製到Android x86 4.0的 /system/lib目錄下,修改好權限,便可享用各類arm應用啦。
注意!最後一個連接下載獲得的文件若是用winrar解壓,只能獲得一個文件。請把這個文件的擴展名手工改爲.tar,再解壓一次,便可獲得45個小文件,這樣纔是咱們要的。
(附:這些文件在個人雲盤裏,目錄名叫:work/android/ARM translate(ARM翻譯器)