Setup
We will be using a Cuttlefish Android Virtual Device to test our code. Make sure you have access to one or create a new one with:
source build/envsetup.sh
lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
acloud create
Please see the Android Developer Codelab for details.
The code on the following pages can be found in the src/android/ directory of the course material. Please git clone
the repository to follow along.
Key points:
Cuttlefish is a reference Android device designed to work on generic Linux desktops. MacOS support is also planned.
The Cuttlefish system image maintains high fidelity to real devices, and is the ideal emulator to run many Rust use cases.