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 | ``` |
Jiyong Park | 3cf15e8 | 2022-01-10 22:24:18 +0900 | [diff] [blame] | 12 | adb install -t 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 | |
Jiyong Park | 3cf15e8 | 2022-01-10 22:24:18 +0900 | [diff] [blame] | 16 | Don't run the app before granting the permission. Or you will have to uninstall |
| 17 | the app, and then re-install it. |
| 18 | |
Jiyong Park | c68547c | 2021-07-08 20:59:54 +0900 | [diff] [blame] | 19 | ## Running |
| 20 | |
Jiyong Park | c68547c | 2021-07-08 20:59:54 +0900 | [diff] [blame] | 21 | Run the app by touching the icon on the launcher. Press the `run` button to |
| 22 | start a VM. You can see console output from the VM on the screen. You can stop |
| 23 | the VM by pressing the `stop` button. |