3504a6fd21
This is just code cleanup so that these clients build cleanly when we switch to @SystemApi. These changes were originally in https://r.android.com/2192919 and https://r.android.com/2196998, but I'm moving them before the @SystemApi change mainly to make my life easier with less CL herding. Bug: 242828259 Bug: 243512107 Test: Install & run demo app Test: atest MicrodroidTests Change-Id: I8527ea4c064a315872eddccadef3b40387bc1c18 |
||
---|---|---|
.. | ||
assets | ||
java/com/android/microdroid/demo | ||
res | ||
Android.bp | ||
AndroidManifest.xml | ||
README.md |
README.md
Microdroid demo app
Building
UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
Installing
adb install -t out/dist/MicrodroidDemoApp.apk
adb shell pm grant com.android.microdroid.demo android.permission.MANAGE_VIRTUAL_MACHINE
Don't run the app before granting the permission. Or you will have to uninstall the app, and then re-install it.
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.