Skip to main content

Android - Getting started

Code sample for android (activity and activity)

Solution in case the Android emulator cannot be started (such as due to a new version of Android studio)

Mac Books can have an apple Processor M1. In that case, Android Studios maye have troubles.

One just needs to copy a folder. Because even with an ARM emulator, the build searches in the folder x86 by mistake.

cd ~/Library/Android/sdk/emulator/qemu
cp -r darwin-aarch64 darwin-x86_64

A problem during startup can be debugged from the shell as follows:

cd ~/Library/Android/sdk
./tools/emulator -list-avds
./tools/emulator -avd Nexus_5X_API_32 -verbose