This is a sandbox spawned using the vscode ionic extension sidemenu template.
It is built using capacitor with android integration
A range of simple pages accessible from a sliding sidebar nav menu
- react (obviously)
- react-leaflet
- leaflet
- redux-toolkit for state management
- camera
TBD
sudo rm -rf /usr/local/android-sdk/cmdline-tools
sudo mkdir -p /usr/local/android-sdk/cmdline-tools
wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip -O commandlinetools.zip
sudo unzip commandlinetools.zip -d /usr/local/android-sdk/cmdline-tools
sudo mkdir -p /usr/local/android-sdk/cmdline-tools/latest sudo mv /usr/local/android-sdk/cmdline-tools/cmdline-tools/* /usr/local/android-sdk/cmdline-tools/latest/
sudo rm -rf /usr/local/android-sdk/cmdline-tools/cmdline-tools rm commandlinetools.zip
export JAVA_HOME="/usr/lib/jvm/jdk-17-oracle-x64" export ANDROID_HOME="/usr/local/android-sdk" export ANDROID_SDK_ROOT="/usr/local/android-sdk" export PATH="$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$ANDROID_SDK_ROOT/platform-tools"
source ~./bashrc
- cd android
- run ./gradlew assembleDebug
- navigate to C:\Capacitor\react-capacitor\android\app\build\outputs\apk\debug\app-debug.apk
- move or copy this file to a public endpoint for download