Skip to content
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

android realease会闪退 #80

Closed
utoper23 opened this issue Oct 22, 2019 · 2 comments
Closed

android realease会闪退 #80

utoper23 opened this issue Oct 22, 2019 · 2 comments

Comments

@utoper23
Copy link

@utoper23 utoper23 commented Oct 22, 2019

android release 模式闪退, debug 模式正常

@utoper23
Copy link
Author

@utoper23 utoper23 commented Oct 22, 2019

java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.befovy.fijkplayer.demo-1/lib/arm/libijksdl.so"
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at tv.danmaku.ijk.media.player.e.a()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at tv.danmaku.ijk.media.player.IjkMediaPlayer.a()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at tv.danmaku.ijk.media.player.IjkMediaPlayer.b()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at tv.danmaku.ijk.media.player.IjkMediaPlayer.()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at tv.danmaku.ijk.media.player.IjkMediaPlayer.()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at b.b.a.b.()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at b.b.a.d.a()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at c.a.c.a.a()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at com.befovy.fijkplayer.demo.MainActivity.onCreate()
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6355)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2467)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2574)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:153)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1425)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.os.Looper.loop(Looper.java:157)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5684)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746)
10-21 09:14:40.963 1429 1429 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
10-21 09:14:40.969 1948 3671 W ActivityManager: Force finishing activity com.befovy.fijkplayer.demo/.MainActivity

@befovy
Copy link
Owner

@befovy befovy commented Nov 14, 2019

add keep class in proguard

-keep class tv.danmaku.ijk.media.player.** {
    *;
}

@befovy befovy closed this as completed Nov 14, 2019
@befovy befovy changed the title flutter 1.10 realease会闪退 android realease会闪退 Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants