Skip to main content

Android - Getting started

Code sample for android (activity and activity)

https://github.com/wemap/livemap-android-sdk-sample/blob/master/app/src/main/res/layout/activity_livemap.xml https://github.com/wemap/livemap-android-sdk-sample/blob/master/app/src/main/java/com/getwemap/livemap/sdk/sample/LivemapSampleActivity.java

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