MapComplete/Docs/Android_development.md

501 B

Creating an APK from the code

We are using capacitor. This is a tool which packages some files into an Android shell.

Developing

  1. nvm use to make sure your using the correct android version
  2. Build all the necessary files. a. If no layer/theme changes were made, npm run build is sufficient b. Otherwise, run npm run prepare-deploy.
  3. All the web assets will now be in dist/
  4. Run scripts/prepareAndroid.sh
  5. Switch to Android Studio, open the subproject "Android" in it