blob: 43d2ebcb5d8057704d332df0eddc334cd8dc75c0 [file] [log] [blame] [view]
Jiyong Parkc68547c2021-07-08 20:59:54 +09001# Microdroid demo app
2
3## Building
4
5```
6TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
7```
8
9## Installing
10
11```
Jiyong Park3cf15e82022-01-10 22:24:18 +090012adb install -t out/dist/MicrodroidDemoApp.apk
Jiyong Park10b354a2021-11-17 17:46:53 +090013adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE
Jiyong Parkc68547c2021-07-08 20:59:54 +090014```
15
Jiyong Park3cf15e82022-01-10 22:24:18 +090016Don't run the app before granting the permission. Or you will have to uninstall
17the app, and then re-install it.
18
Jiyong Parkc68547c2021-07-08 20:59:54 +090019## Running
20
Jiyong Parkc68547c2021-07-08 20:59:54 +090021Run the app by touching the icon on the launcher. Press the `run` button to
22start a VM. You can see console output from the VM on the screen. You can stop
23the VM by pressing the `stop` button.