棋子 · 2020年02月24日

Running Android in PC

Hi Experts,

Can I test specific android OS in the PC environment to change the middleware and other aspects of the build before testing it in the ARM based development boards.

Regards,

techguyz

1 个回答 得票排序 · 时间排序
极术小姐姐 · 2020年02月24日

If I understand your question correctly; yes, you can modify, build and run AOSP system images on your desktop/host machine in an emulated environment. The Android SDK includes the ability to run Android Virtual Devices (AVDs). You can run both ARMv7-A and x86 emulated virtual machines. There are 3rd party Android emulation environments like Genymotion but using your own system.img and kernel may not be as well documented.

The Android SDK system images download to */sdk/system-images/android-23/google_apis/armeabi-v7a

and consist of:

build.prop

kernel-qemu*

ramdisk.img

source.properties

system.img

userdata.img

Each of those parts of the Android system bundle could be modified and replaced. The emulation environments are not known for their speed but they might be more convenient for certain types of development like you're suggesting or testing various screen sizes and orientations on a limited device budget or checking binary compatibility for NDK libraries.

Screen Shot 2015-10-09 at 11.20.18 AM.pngScreen Shot 2015-10-09 at 11.23.12 AM.png

你的回答
关注数
1
收藏数
0
浏览数
2300
极术小姐姐
极术微信服务号
关注极术微信号
实时接收点赞提醒和评论通知
安谋科技学堂公众号
关注安谋科技学堂
实时获取安谋科技及 Arm 教学资源
安谋科技招聘公众号
关注安谋科技招聘
实时获取安谋科技中国职位信息