我正在尝试运行Android AOSP 12L System.img文件 - 该文件是为Android模拟器上的ARM64构建的。
我从索尼开发人员指南下载了Sony Xperia 10 III设备的Android源代码。我遵循了索尼开放设备项目网站上提到的程序,以自定义Android AOSP 12L。
源代码的构建成功,之后生成以下.IMG文件:
system.img,
boot-5.4.img,
ramdisk.img,
vbmeta.img,
我想在将其刷新到Sony Xperia 10 III设备之前在模拟器上运行这些图像。
我下载了Google的Android Studio。安装在其上的模拟器版本是Android Emulator 31.2.10。不幸的是,它没有运行自定义构建图像的规定,而不是提供Google提供的Android图像。
我已经从列出的选项中下载了Android 12 System.img for Arm64,并尝试使用我自己构建的System.img文件交换该System.img文件。但是模拟器没有开始并显示“ Android模拟器已终止”。
我下载了Anbox仿真器,该模拟器从其自己的Android映像开始,并且没有用完System.img文件的规定。
有没有办法使用任何Android模拟器来运行生成的.IMG文件?
等待您的回应。
I am trying to run an android AOSP 12L system.img file-that was built for arm64- on an android emulator.
I had downloaded the android source code for the Sony Xperia 10 III device from the Sony developers guide. I followed the procedure that is mentioned on Sony's open device project website to do a custom build of the android AOSP 12L.
The build of the source code was successful after which the following .img files were generated:
system.img,
boot-5.4.img,
ramdisk.img,
vbmeta.img,
I want to run these images on an emulator before flashing it to the Sony Xperia 10 III device.
I downloaded the Android Studio by Google. The emulator version installed on it is Android Emulator 31.2.10. Unfortunately, it does not have the provision to run a custom built image rather it only provides the android images provided by google.
I had downloaded the android 12 system.img for arm64 from the options listed and tried swapping that system.img file with the system.img file that was built by myself. But the emulator does not start and shows "Android emulator has been terminated".
I downloaded the Anbox emulator and that starts with its own android image and does not have the provision to run out system.img file.
Is there a way in which I can use any android emulator to run the system generated .img file?
Awaiting your response.
发布评论
评论(1)
您可以创建可以在Android模拟器上运行的AVD图像。
同样,您可以使用
命令。
这将为您创建一个SDK,
您可以使用此ZIP来创建模拟器并测试您的功能。有关此信息的更多信息,请参见此
希望这会有所帮助!!
You can create AVD images which can run on Android Emulator.
For the same, you can use
command.
This will create an SDK for you which will be located
You can use this zip for the creation of emulator and test your functionality. More on this can be found on this website.
Hope this helps !!