Run Android app in qemu-arm?

我是研究僧i 提交于 2019-12-30 20:51:25

问题


There are very few articles on this topic on the net, so I'm asking here if it makes sense, what I'm doing.

I'm trying to partition virtual disk just the way android does it, mount android images (system, root etc) only to run android app on Linux in qemu-arm.

Have you done it? Is it possible? Will the performance be better than in default Android emulator?

I'm sorry if the question is stupid.


回答1:


qemu-system-arm actually supports running certain versions of Android.

The following link has worked for me.

https://www.linaro.org/blog/core-dump/running-64bit-android-l-qemu/

In terms of performance, although the default Android emulator is also based on Qemu, it is now equipped with graphic accelerations, which is not supported by the mainstream Qemu.

The Android emulator provides accelerated graphics support in the emulated guest Android operating system, by providing an OpenGL passthrough mechanism that allows the emulated Android system to make OpenGL calls that are directly rendered by the host accelerated graphics stack to the emulated window without having to emulate a GPU inside QEMU itself. [source]




回答2:


Apparently, upstream qemu-arm doesn't support running Android. see http://www.linaro.org/blog/core-dump/running-64bit-android-l-qemu/ where it talks about porting patches to QEMU for android support. You should probably use the QEMU which comes with android emulator itself, which will most probably result in the same performance!



来源:https://stackoverflow.com/questions/24627978/run-android-app-in-qemu-arm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!