-
Notifications
You must be signed in to change notification settings - Fork 215
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
混淆后,关闭串口闪退 #18
Comments
增加 混淆 代码 。 就不会闪退了。。。 |
也是关闭串口的时候报错
这个close这里 567 2658-2691/? E/art: JNI DETECTED ERROR IN APPLICATION: fid == null |
这个是怎么增加?在打包的时候?加在gradle配置文件里面啊 |
at com.kongqw.serialportlibrary.SerialPort.close(Native method)
at com.kongqw.serialportlibrary.SerialPortManager.a(SerialPortManager.java:87)
at com.ubains.aide.VoiceActivity.onDestroy(VoiceActivity.java:883)
at android.app.Activity.performDestroy(Activity.java:6437)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1142) at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3818)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3849)
at android.app.ActivityThread.-wrap5(ActivityThread.java:-1)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke!(Native method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662)
The text was updated successfully, but these errors were encountered: