• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Android
2
3## Sample Android application
4
5https://github.com/Softmotions/ejdb_android_todo_app
6
7## Android binding showcase and unit tests
8
9```bash
10cd ./src/bindings/ejdb2_android/test
11```
12
13Set local android SDK/NDK path and target `arch` in `local.properties`
14
15```properties
16# Path to Android SDK dir
17sdk.dir=/Android-sdk
18
19# Path to Android NDK dir
20ndk.dir=/Android-sdk/ndk-bundle
21
22# Target abi name: armeabi-v7a, arm64-v8a, x86, x86_64
23abi.name=arm64-v8a
24```
25
26Run Android emulator for the same abi version then:
27
28```bash
29./gradlew connectedAndroidTest
30```