-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
R8 full mode and @Streaming giving runtime error with minifyEnabled #3898
Comments
That commit is not in the released version. Copy it into your project shrinker config and it should work until the next version is released. |
Ah sorry! I was meaning to say I added that bit locally and it did not fix this issue |
Keeping the replaced rules and adding the new ones from the commit 59d302a fixed the issue for me.
|
I have same problem when update AndroidStudio Flamingo & Gradle8.0.2 But i solve this, add "retrofit/src/main/resources/META-INF/proguard/retrofit2.pro" all code into my proguard-rules.pro file Maybe we can wait for retrofit2 update new version to solve this problem totally. |
I am facing a similar issue with
Finally, I have 2 very similar interfaces that are
The non-working one is something like:
The only difference I can spot between the two is the different types of params added? Update: removing the |
Using Retrofit 2.9.0 and AGP 8.0.1 with fixes from #3751 I still get one more error with R8 in full mode:
This is how the signature looks like:
My best guess is that is getting stripped away but I don't know how to configure to not remove it. I thought this would have done it but apparently not:
So perhaps something is missing still from this commit: 59d302a ?
The text was updated successfully, but these errors were encountered: