是否有一个好的设置为Linphone android的proguard启用在构建。gradle,我在proguard-rules中尝试这段代码。正方观点:
-keep public class * extends *
-keep public class * implements LinphoneCoreListener
-keep interface * { *; }
但是显示JNI错误:
JNI检测到ERROR IN APPLICATION: JNI GetMethodID called with pending异常的. lang。NoSuchMethodError'抛出org.linphone.core.LinphoneCoreImpl.newLinphoneCore (org.linphone.core.LinphoneCoreListener. lang。字符串,. lang。字符串,java . lang . object): 2
谁有一个好的设置linphone proguard
请在proguard-android.txt文件中添加以下代码
#linphone
-keep class org.linphone.** { *; }
-keepattributes Signature
希望对你有帮助。