I need to modify realm-java. But simple adding realm-library as module to my android studio does not work. Tell which parts of this repo have to be added to my project, so I could use code locally. If it's possible, provide well-detailed guide.
The realm-java repo contains multiple independent modules that must be opened separately in Android Studio.
I would recommend reading https://github.com/realm/realm-java/blob/master/README.md#gotchas which describe the layout.
In particular, you need to do:
git clone https://github.com/realm/realm-java.git --recursive
cd realm-java
./gradlew assemble
./gradlew installRealmJava // Examples will now work
// Import /realm-java/examples as seperate project
// Import /realm-java/realm as seperate project