-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
API 'android.registerTransform' is removed with Android Gradle plugin 8.x #7801
Comments
Same issue |
What version of Android Gradle Plugin are you using? If bumping to AGP 7.4 or newer you will have to use the |
@rorbech I am using AGP 8.0 and I am getting this error when I run with --stacktrace. |
There are multiple issues in play here. The The second |
If I'm using |
@rorbech well, I already tried -transformer-api... |
@personshelldon To use the So something like
|
@elite-mob This is separate issue due to new constraints from newer JVMs, that are required when upgrading to Gradle 8. The issue is tracked in #7799. We haven't found a permanent fix for that yet, but there are some workarounds listed in the issue. |
@rorbech Got it. Thank you. Hope we find a permanent solution soon. I will keep tracking the issues related to and the solutions. |
@elite-mob, I've set |
Unfortunately it does not work for me. `
} |
Same issue;
Error log;
|
Updating to |
This should be fixed with |
@cmelchior Despite trying a new version 10.15.0 with Java 17, I'm still getting errors... Can you please let me know the compatible java version with realm 10.15.0? Thank you! |
Yes, I can reproduce the error. Not 100% sure what went wrong with our testing. Re-opening this. |
|
i dont understand why im getting that error when im not even using that library |
How frequently does the bug occur?
Always
Description
org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'realm-android'.
I am using realm library version 10.11.1 and it was working very well until I upgrade Android Studio into Android Studio Flamingo | 2022.2.1 version.
After updating the Android Studio and gradle version into 8.0, I am running into trouble with realm library and not sure what to do with this.
Any help would be helpful. Thank you.
Stacktrace & log output
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'realm-android'.
Can you reproduce the bug?
Always
Reproduction Steps
Just install the realm library on new Android Java project with Android Studio Flamingo | 2022.2.1, and upgrade gradle version into 8.0 and try to compile the project.
Version
10.11.1
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android SDK: 33
Build environment
Android Studio version: Flamingo | 2022.2.1
Android Build Tools version: 33
Gradle version: gradle-8.0-bin
The text was updated successfully, but these errors were encountered: