Jiyong Park | c68547c | 2021-07-08 20:59:54 +0900 | [diff] [blame] | 1 | # Microdroid demo app |
| 2 | |
| 3 | ## Building |
| 4 | |
| 5 | ``` |
| 6 | TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist |
| 7 | ``` |
| 8 | |
| 9 | ## Installing |
| 10 | |
| 11 | ``` |
| 12 | adb install out/dist/MicrodroidDemoApp.apk |
Jiyong Park | 10b354a | 2021-11-17 17:46:53 +0900 | [diff] [blame^] | 13 | adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE |
Jiyong Park | c68547c | 2021-07-08 20:59:54 +0900 | [diff] [blame] | 14 | ``` |
| 15 | |
| 16 | ## Running |
| 17 | |
Jiyong Park | c68547c | 2021-07-08 20:59:54 +0900 | [diff] [blame] | 18 | Run the app by touching the icon on the launcher. Press the `run` button to |
| 19 | start a VM. You can see console output from the VM on the screen. You can stop |
| 20 | the VM by pressing the `stop` button. |