forked from MapComplete/MapComplete
501 B
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
nvm useto make sure your using the correct android version- Build all the necessary files.
a. If no layer/theme changes were made,
npm run buildis sufficient b. Otherwise, runnpm run prepare-deploy. - All the web assets will now be in
dist/ - Run
scripts/prepareAndroid.sh - Switch to Android Studio, open the subproject "Android" in it