が見つかりませんでした。私は最後の3日間、私のストリーミングラジオアプリで次のエラーの原因を突きつけようとしていました。java.lang.UnsatisfiedLinkError .... "libaacdecoder.so"
FATAL EXCEPTION: main
Process: ca.threeohsixmedia.radio, PID: 24294
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/ca.threeohsixmedia.radio-1/base.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_dependencies_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_0_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_1_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_2_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_3_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_4_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_5_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_6_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_7_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_8_apk.apk", zip file "/data/app/ca.threeohsixmedia.radio-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/ca.threeohsixmedia.radio-1/lib/arm64, /data/app/ca.threeohsixmedia.radio-1/base.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/ca.threeohsixmedia.radio-1/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libaacdecoder.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:984)
at java.lang.System.loadLibrary(System.java:1562)
at com.spoledge.aacdecoder.Decoder.loadLibrary(Decoder.java:188)
at com.spoledge.aacdecoder.Decoder.create(Decoder.java:222)
at com.spoledge.aacdecoder.Decoder.create(Decoder.java:199)
at com.spoledge.aacdecoder.AACPlayer.createDecoder(AACPlayer.java:508)
at com.spoledge.aacdecoder.MultiPlayer.createDecoder(MultiPlayer.java:91)
at com.spoledge.aacdecoder.AACPlayer.<init>(AACPlayer.java:130)
at com.spoledge.aacdecoder.MultiPlayer.<init>(MultiPlayer.java:81)
at co.mobiwise.library.radio.RadioPlayerService.getPlayer(RadioPlayerService.java:424)
at co.mobiwise.library.radio.RadioPlayerService.onCreate(RadioPlayerService.java:238)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3192)
at android.app.ActivityThread.-wrap5(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1568)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
奇妙なことは、アプリがアンドロイドスタジオのGoogleピクセルエミュレータではなく、実際のGoogleピクセルのハードウェア上で正常に動作していることです。私のファイルはすべて正しい場所にあります。
私はthis solutionを試しましたが、多くの人は運がありません。私はここからどこに行くべきか分からない。どんな助けもありがとう。
ライブラリをどのようにロードしましたか?あなたはどこに入れましたか? –