让x86的android模拟器能模拟arm架构系统

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.架构

  Landscape Tip

 

    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

  Conclusion

      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翻译器)

相关文章
相关标签/搜索