tree: 86403b0f61b02f02dd4803ce6eaf7b506820f5fa [path history] [tgz]
  1. assets/
  2. java/
  3. res/
  4. Android.bp
  5. AndroidManifest.xml
  6. README.md
demo/README.md

Microdroid demo app

Building

TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist

Installing

adb install out/dist/MicrodroidDemoApp.apk
adb push out/dist/MicrodroidDemoApp.apk.idsig /data/local/tmp/virt

Running

Run these commands before running the app. Eventually, these won't be needed.

adb root
adb setenforce 0
adb start virtualizationservice

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.