packages/modules/Virtualization/demo
cpeng b5f75efab3 android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
..
assets android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
java/com/android/microdroid/demo android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
res android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
Android.bp android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
AndroidManifest.xml android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
README.md android 13 from xiaosuan 2025-08-25 08:38:42 +08:00

README.md

Microdroid demo app

Building

TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist

Installing

adb install -t out/dist/MicrodroidDemoApp.apk
adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE

Don't run the app before granting the permission. Or you will have to uninstall the app, and then re-install it.

Running

Run the app by touching the icon on the launcher. Press the run button to start a VM. You can see console output from the VM on the screen. You can stop the VM by pressing the stop button.