I am assuming you cloned our master do so?
We recently restructured our repository so we can support having both the Gradle plugin, Library and Examples. Unfortunately there are some circular dependencies among them which makes it impossible to have them all in the same Android Studio project.
This means that our repository actually consists of 3 independent projects and one "umbrella" project that just have hooks into some common subtasks.
/realm-java/ is the main umbrella project
/realm-java/examples/ contains all our examples
/realm-java/realm/ contains our library
/realm-java/gradle-plugin/ contains our gradle plugin
So to get it to work:
1) Checkout realm-java
2) Run `./gradlew assemble` from `/realm-java/` . This will build and install all relevant libraries/plugins into mavenLocal() so the examples compile
3) Open `/realm-java/examples/` as a project inside AndroidStudio
4) You should now be able to run all examples.
This is also described in our README
https://github.com/realm/realm-java/blob/master/README.mdBut any feedback on how we can improve the description would be helpful. Thanks.
I hope this helps.
--
Christian Melchior
Senior Android Developer