Home

Awesome

EJDB todolist sample application

screen1

Setup

  1. Init ejdb2 submodule, run git command
    git clone https://github.com/Softmotions/ejdb_android_todo_app.git
    cd ./ejdb_android_todo_app
    git submodule update --init
    
  2. Open Android SDK Manager and install LLDB, CMake (version >= 3.10), NDK.
  3. Install Ninja build system
    apt-get install ninja-build
    

Create local.properties

Set local android SDK/NDK path and target arch in local.properties

# Path to Android SDK dir
sdk.dir=/Android-sdk

# Path to Android NDK dir
ndk.dir=/Android-sdk/ndk-bundle

# Target abi name: armeabi-v7a, arm64-v8a, x86, x86_64
abi.name=arm64-v8a

Assemble apk

./gradlew assembleDebug
or
./gradlew assembleRelease

Install to connected device

./gradlew installDebug
or
./gradlew installRelease