No implementation found for void tv.danmaku.ijk.media.player.IjkMediaPlayer.native_profileEnd()

created at 12-14-2021 views: 30

error

2020-02-10 10:16:16.364 32284-32284/com.zhuicha.aitv E/art: No implementation found for void tv.danmaku.ijk.media.player.IjkMediaPlayer.native_profileEnd() (tried Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1profileEnd and Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1profileEnd__)
2020-02-10 10:16:16.367 32284-32284/com.zhuicha.aitv D/AndroidRuntime: Shutting down VM
2020-02-10 10:16:16.369 32284-32284/com.zhuicha.aitv E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.zhuicha.aitv, PID: 32284
    java.lang.UnsatisfiedLinkError: No implementation found for void tv.danmaku.ijk.media.player.IjkMediaPlayer.native_profileEnd() (tried Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1profileEnd and Java_tv_danmaku_ijk_media_player_IjkMediaPlayer_native_1profileEnd__)
        at tv.danmaku.ijk.media.player.IjkMediaPlayer.native_profileEnd(Native Method)
        at com.zhuicha.aitv.LiveActivity.onStop(LiveActivity.java:294)
        at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1290)
        at android.app.Activity.performStop(Activity.java:7048)
        at android.app.ActivityThread.handleSleeping(ActivityThread.java:4109)
        at android.app.ActivityThread.-wrap23(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1736)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:163)
        at android.app.ActivityThread.main(ActivityThread.java:6363)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
2020-02-10 10:16:16.396 32284-32284/com.zhuicha.aitv I/Process: Sending signal. PID: 32284 SIG: 9

solution

This libiconv.so (xx.so) file uses a lower version of the SDK. At that time, my targetSdkVersion was 23, so I lowered it to 22, no more errors will be reported, and it works normally used. This is the solution to the libiconv.so file. If the xx.so file you are using is reduced to 22 and an error is reported, it is recommended to continue to reduce the version and try.

example

compileSdkVersion 23
    buildToolsVersion '23.0.3'
    defaultConfig {
        applicationId "com.loonggg.xxxx.xxxx"
        minSdkVersion 11
        targetSdkVersion 22
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        versionCode 55
        versionName "5.2.4"
        // dex breaks through the 65535 limit
        multiDexEnabled true
        // The default is the channel of umeng
        manifestPlaceholders = [UMENG_CHANNEL_VALUE: "loonggg"]
    }
created at:12-14-2021
edited at: 12-14-2021: