-
Notifications
You must be signed in to change notification settings - Fork 161
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
Missing class io.netty.channel.epoll.Epoll, com.aayushatharva.brotli4j. and other when compile Android Project #609
Comments
I've tried to add -dontwant flags for all packages for that I'm getting errors:
I compiled, but then I get crash of my app, because of: |
✅Ok, I don't know if its correct way to solve the problem, I don't like it, but at least it works now ✅.
As I said, I don't like this solution, and it would be really good at least, if you would provide |
+1, this libary doesn't work with ProGuard and the rules in the docs don't work. |
@yuriisurzhykov |
I'm trying to build an android application with using HiveMQ library. My project configurations are next:
Java - 17
Kotlin 1.9.20
Gradle - 8.4
Android Gradle Pluging - 8.1.4
For proguard configuration I have the following:
I have added the library as it described in the document: https://hivemq.github.io/hivemq-mqtt-client/docs/installation/android/
I put proguard rules as it described there, but the project still doesn't want to compile, and it gives me the message:
And the whole huge list of usages.
After I got this error I modified the proguard-rules.pro file to the following:
But it still gives me an error about missing sources:
The list about missing sources is really big.
I have tried to remove shrinkResources configuration, and the project still doesn't compile.
I have tried to modify
To:
But nothing helps me, so what is your suggestions?
The text was updated successfully, but these errors were encountered: