-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation failed to complete: enableAndroidTestCoverage = true #1702
Comments
➤ PM Bot commented: Jira ticket: RKOTLIN-1044 |
Sounds a bit like #1243 🤔 |
It's not clear what the solution to #1243 is. |
It looks like the sample project @chrisdon provided (https://github.com/chrisdon/realm-kotlin-dex) compiles with warnings on Gradle 7.3.0:
This does not work on Gradle 7.4.0+ and fails the |
How frequently does the bug occur?
-- select --
Description
Realm fails to compile when enableAndroidTestCoverage = true in a module or app level gradle file
This error can be avoided by setting isMinifyEnabled = true in buildTypes.debug section of the gradle file but I don't want to enable code shrinking for debug builds.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Create android project with:
min version 29
Realm 1.14.0
kotlin 1.9.22
compose 1.5.10
See example here: https://github.com/chrisdon/realm-kotlin-dex
Version
1.14.0
What Atlas App Services are you using?
-- select --
Are you using encryption?
-- select --
Platform OS and version(s)
Android 10
Build environment
Android Studio version: 2023.1.1 Patch 2
Android Build Tools version: 34.0.0
Gradle version: 8.2
The text was updated successfully, but these errors were encountered: