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