-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Description
If you are using proguard then remember to add instabug to proguard-rules.pro.
Error looks like this
Warning: there were 5 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: Exception while processing task java.io.IOException: Please correct the above warnings first.
:app:transformClassesAndResourcesWithProguardForRelease FAILED
And this this is how you fix it in proguard-rules.pro
# okio
-keep class sun.misc.Unsafe { *; }
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
-dontwarn okio.**
# Instabug
-dontwarn com.instabug.** # Add this line
Metadata
Metadata
Assignees
Labels
No labels