Home

Awesome

CozoDB for Android

android

This document describes how to set up Cozo for use in Android. To learn how to use CozoDB (CozoScript), read the docs.

Installation

Artefacts are on Maven central:

implementation 'io.github.cozodb:cozo_android:0.7.2'

Usage

The API is identical to that in the JVM library.

You can build upon the example project here.

Reducing app size

In build.gradle of your app:

android {
    defaultConfig {
        ndk {
            abiFilters 'arm64-v8a', 'x86'
        }
    }
}

For more information: