Building Todo Lite

Todo Lite is an example app for collaborative task list management. It illustrates many of the Couchbase Lite features, including document CRUD, binary attachments, view queries, authentication, and sync.

Open the Terminal application.


Terminal is usually located in the Applications/Utilities folder.

Move to your working directory


Change to the directory that you want to store the ToDo Lite app in. For example:

$ cd ~/dev

Clone the example app project


Clone the Todo Lite app:

$ git clone https://github.com/couchbaselabs/ToDoLite-Android
$ cd ToDoLite-Android
$ git submodule init && git submodule update

Load into Android Studio


  1. Import the project into your Android Studio by selecting build.gradle or settings.gradle from the root of the project.

  2. Run the app using the "play" or "debug" button.

  3. Optional: if you want to sync with your own Sync Gateway, Configure Sync Gateway URL by openning app/src/main/java/com/couchbase/todolite/Application.java and modifying the SYNC_URL variable.