Search code examples
realm

Realm Android example in Android Studio are not working


I follow these instructions to get the examples working in Android Studio but I get problems with Gradle (as shown in image and video below).

Any idea on how to fix this ?

This happens with current master branch.

enter image description here

Here is a short video screen capture showing how this happens : https://youtu.be/H7djFyrxPxY


Solution

  • v1.1.0 branch (https://github.com/realm/realm-java/tree/v1.1.0) instead of master should work fine.

    Or you need to execute ./gradlew installRealmJava before importing examples to build and install latest SNAPSHOT.