Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
java/com/android/microdroid/demo/ | 14-Jan-2024 | - | 312 | 237 | ||
res/ | 14-Jan-2024 | - | 147 | 123 | ||
Android.bp | D | 14-Jan-2024 | 593 | 22 | 20 | |
AndroidManifest.xml | D | 14-Jan-2024 | 876 | 21 | 18 | |
README.md | D | 14-Jan-2024 | 716 | 29 | 20 |
README.md
1# Microdroid demo app 2 3## Building 4 5``` 6UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist 7``` 8 9## Installing 10 11You can install the app like this: 12``` 13adb install -t -g out/dist/MicrodroidDemoApp.apk 14``` 15 16(-t allows it to be installed even though it is marked as a test app, -g grants 17the necessary permission.) 18 19You can also explicitly grant or revoke the permission, e.g. 20``` 21adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE 22``` 23 24## Running 25 26Run the app by touching the icon on the launcher. Press the `run` button to 27start a VM. You can see console output from the VM on the screen. You can stop 28the VM by pressing the `stop` button. 29