I am using Chirp Android SDK for sharing data over sound, its working pretty well.
But when I am enabling my proguard then this JNI exeption is throwing, i have tried many ways to overcome this issue like add proguard rule in proguard file lets see :
-keep class io.chirp.connect.Chirpconnect { *; }
-keep class chirpconnect.Chirpconnect { *; }
-keepclasseswithmembernames class * { native methods; }
But not found any solutions?
I have just added one chirp SDK AAR in a libs folder and add this
repositories {
flatDir {
dirs 'libs'
}
}
to build.gradle file
Please try this may it will helps you :-
-keep class io.chirp.connect.** { *; }
-keep class chirpconnect.** { *; }
-keep class javax.annotation.** { *; }
-dontwarn javax.annotation.**
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
Sorry I don't have enough reputation to comment.
The class name is actually io.chirp.connect.ChirpConnect
with a capital C for Connect. Does this solve the issue?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With