Realm Transformer Output Missing During Android Instrumented Test #7880
Labels
Encryption:On
Frequency:Always
More-information-needed
More information needed from the reporter. The issue will autoclose if no more information is given.
O-Community
Repro:Always
SDK-Use:Local
T-Bug
Waiting-For-Reporter
Waiting for more information from the reporter before we can proceed
How frequently does the bug occur?
Always
Description
This is related to #2936 and #3030
After upgrading to Gradle 7, our build is now issuing a warning about a deprecated feature (the AGP Transformer API). It seems that newer versions have been released to address this however our app is not currently able to support realm 10-x versions.
When running Android instrumented tests a ClassCastException is being thrown at runtime. Several attempts were made to resolve this, like adding kotlin-kapt before realm-android Gradle plugin. The exception only occurs during instrumentation tests.
The output of the realm transformer is being generated to the app/build/intermediates/transforms. Yet the final APK being ran does not contain the generated source.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
in app/build.gradle
androidTestImplementation project(":app")
Version
6.1.0 up to 10.11.1
What Atlas App Services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
Android 10-13
Build environment
The text was updated successfully, but these errors were encountered: