Cannot access RealmObject in a multi-module project
See original GitHub issueProjects with multi-module cannot access data class extended with RealmObject. It returns
bad class file: /../lib1/build/intermediates/compile_library_classes_jar/debug/classes.jar(/lib1/RealmObjectExampleModel.class)
undeclared type variable: T
Please remove or make sure it appears in the correct subdirectory of the classpath.
With Java SDK works fine
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top Results From Across the Web
Realm - mix models from different projects - Stack Overflow
It should take my models from both projects, Am I right? my gradle: classpath "io.realm:realm-gradle-plugin:2.0.2". and.
Read more >Cannot access 'java.lang.Object' in Android Studio Chipmunk ...
I have a multi module project where I have implemented Dynamic feature module in it with Dagger as dependency injection framework ...
Read more >Using Dagger in multi-module apps - Android Developers
A project with multiple Gradle modules is known as a multi-module project. ... However, you cannot use the same code because feature modules ......
Read more >Realm: Create reactive mobile apps in a fraction of the time
Step 1: Add the class path dependency to the project level build.gradle file. Copy to clipboard ... Open a Realm by instantiating a...
Read more >Sharing Gradle Configuration in Multi-Module Android Projects
This post shows you a method of sharing common configuration between your Android Library modules in order to cut down on boilerplate Gradle...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have merged a fix which works in the project here: https://github.com/realm/realm-kotlin/issues/901#issuecomment-1160393534
It should be available in a 1.0.1-SNAPSHOT release within a couple of hours.
Hi @OmarShehe Thank you very much for this. We can reproduce the issue and are looking into it.