Skip to content
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

❓ Task :100mslive_react-native-hms:minifyReleaseWithR8 FAILED #1389

Closed
syedmohsin7975 opened this issue Apr 30, 2024 · 6 comments
Closed
Labels
question ❓ Question or Support Request

Comments

@syedmohsin7975
Copy link

image

I am getting this error and my build fails. Tried adding rules in proguard-rules.pro file but this issue still persist.

Need support on what could have gone wrong.

image

image

I referred to docs, checked closed issue and also referred your sample app.

@syedmohsin7975 syedmohsin7975 added the question ❓ Question or Support Request label Apr 30, 2024
Copy link

Hello! Thank you for filing an issue.

Please include relevant logs or detailed description for faster resolutions.

We really appreciate your contribution!

@syedmohsin7975
Copy link
Author

syedmohsin7975 commented May 3, 2024

I have already included relevant logs or detailed description. I am unable to build app getting error as mentioned above. Please help me here, tried enabling the R8 from gradle.properties but got deprecated warning. Add rules to from missing_rules.txt file.

Please add these rules to your existing keep rules in order to suppress warnings.

This is generated automatically by the Android Gradle plugin.

-dontwarn java.lang.invoke.StringConcatFactory

@ygit
Copy link
Member

ygit commented May 6, 2024

hey @syedmohsin7975
What's the Gradle version used in your app?
Can you share your gradle-wrapper.properties file?

@ygit
Copy link
Member

ygit commented May 10, 2024

@syedmohsin7975 were you able to resolve this issue?

@ygit
Copy link
Member

ygit commented May 15, 2024

hey @syedmohsin7975 were you able to check this issue?

@syedmohsin7975
Copy link
Author

syedmohsin7975 commented May 15, 2024

Hi @ygit

It seems that there's an issue with ProGuard minification. When disabled, everything works fine. However, enabling ProGuard causes R8 minification to fail. I'll check with the ProGuard repository to resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Question or Support Request
Projects
None yet
Development

No branches or pull requests

2 participants