android-emulator
Read before running an Android app or an Android phone for the user, to install an APK, try a site on Android's Chrome, or look at and tap on an Android screen.
SKILL.mdapps/android-emulator/SKILL.md
GitHubAn emulator is an Android phone (Android 16 with Google Play, a Pixel 8's screen) in Google's Android Emulator, on
one of the user's machines, with no window. machines lists the machines that run them.
createtakes anameand what it's for (description), and starts it, which takes a minute or two (longer the first time on a machine, which may install the Android SDK first), with Chrome's first-run prompts already answered.listshows yours and their state.installinstalls an APK, uploaded (apk) or from aurl, granting what it asks for.open_urlopens a URL in the app for it or Chrome.shellruns a command in the phone (adb shell):logcat -d -t 200is its log.- A running one is a screen in Computer Use, called what the emulator is: look at it and tap on it there. A click is
a tap, a right click a long press, a drag a swipe,
scrollswipes, and the keyEscapeis Back.typetypes into what has the focus, ASCII only. stopsaves what it was doing, andstartcarries on from there in seconds.removedeletes it and everything on it.
On Linux a phone has a network of its own: it reaches the internet but nothing on its machine, not even its 127.0.0.1. On a Mac the emulator's own network gives its apps the Mac's 127.0.0.1 at 10.0.2.2, and nothing can stop that: install only apps the user trusts there.
An emulator costs about 2 GB of memory and a CPU or two while it runs. Stop it when you're done; one left running and unused for two hours is stopped on the hour. Yours are yours: nobody else sees them but the network's owner.
A machine runs emulators once its service is installed there: install_service --app android-emulator --service AndroidEmulator.Emulator --server <key>. It needs KVM and pasta on Linux, or a Mac, and Java.