2021-07-08 11:59:54 +00:00
|
|
|
# Microdroid demo app
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
|
|
```
|
|
|
|
TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
|
|
|
|
```
|
|
|
|
|
|
|
|
## Installing
|
|
|
|
|
|
|
|
```
|
|
|
|
adb install out/dist/MicrodroidDemoApp.apk
|
2021-11-17 08:46:53 +00:00
|
|
|
adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE
|
2021-07-08 11:59:54 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## 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.
|