-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
java.lang.UnsatisfiedLinkError: on 64 bit devices #305
Comments
I meet the same error with my project. But when I run the offical demo, everything goes well. Hopes for solution. |
BTW: When I copy the '/data/app/io.vov.vitamio.demo-1/lib/libvinit.so' to my app's corresponding folder,the error changes to below messages. |
By Reviewing below link, i just give up with this error and handled this error in try/catch and play video using default android video api. Assuming that 64 bit device will have enough codecs that can play almost videos. So for 32 bit devices app will play videos using Vitamio and for 64 bit have to play using default android player. https://www.vitamio.org/en/docs/FAQ/2013/0509/14.html Still looking forward for solution for Vitamio Library. |
Hi, I searched on the net these days and finally found the solution! android {
....
defaultConfig {
....
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
} For more information, you can see How to use 32-bit native libaries on 64-bit Android device, how to use 32bit native libraries on 64 bit Android-L platform on stackoverflow. |
Thanks Very much!! Worked for me :) |
Big thanks to ThanosZhou you saved my day! Your solution works perfectly (y) |
I use ThanosZhou’ solution my build.gradle is: apply plugin: 'com.android.library' android {
} dependencies { but is still has bug |
Maybe you should use it in your application module, like this apply plugin: 'com.android.application' If it still doesn't work, I have no idea. |
this problem Caused by the fresco like this issue I didn't find a solution |
Thanks, ThanosZhou. Worked for me. |
i spend a whole day to solve the problem. i browsed this answer before the end of the day. |
Works for me, Thanks. But i don't understand why it's fine in the vitamio demo. Here is my log: |
@joy-jianqiang try replacing the |
Big thanks to ThanosZhou ,非常好 |
Thank you so much ThonosZhou |
thanks ThonosZhou. |
thanks ThonosZhou.
|
Still have the same error even with Zhou's workaround. |
Thank you @ThanosZhou. It worked. |
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.shangliuchina.app- 1/base.apk"],nativeLibraryDirectories=[/data/app/com.shangliuchina.app-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libijkffmpeg.so" |
@chenlei200887 here is vitamio, not ijkplayer dude :/ |
thankyou My project is wooked来自我的华为手机-------- 原始邮件 --------主题:Re: [yixia/VitamioBundle] java.lang.UnsatisfiedLinkError: on 64 bit devices (#305)发件人:Ranny 收件人:yixia/VitamioBundle 抄送:chenlei200887 13590578268@163.com,Mention @chenlei200887 here is vitamio, not ijkplayer dude :/ —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/yixia/VitamioBundle","title":"yixia/VitamioBundle","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/yixia/VitamioBundle"}},"updates":{"snippets":[{"icon":"PERSON","message":"@FloridaStream in #305: @chenlei200887 here is vitamio, not ijkplayer dude :/"}],"action":{"name":"View Issue","url":"https://github.com/yixia/VitamioBundle/issues/305#issuecomment-241227763"}}} |
@chenlei200887 you already know is not it? The vitamio are some problems, so it's safer to use the ijkplayer. |
thanks来自我的华为手机-------- 原始邮件 --------主题:Re: [yixia/VitamioBundle] java.lang.UnsatisfiedLinkError: on 64 bit devices (#305)发件人:Ranny 收件人:yixia/VitamioBundle 抄送:chenlei200887 13590578268@163.com,Mention @chenlei200887 you already know is not it? The vitamio are some problems, so it's safer to use the ijkplayer. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/yixia/VitamioBundle","title":"yixia/VitamioBundle","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/yixia/VitamioBundle"}},"updates":{"snippets":[{"icon":"PERSON","message":"@FloridaStream in #305: @chenlei200887 you already know is not it? The vitamio are some problems, so it's safer to use the ijkplayer. \r\nijkplayer have a full code opensource and active dev/support. =) good luck. 🍀 "}],"action":{"name":"View Issue","url":"https://github.com/yixia/VitamioBundle/issues/305#issuecomment-241235704"}}} |
i suggest you use Relinker |
love you ,thx! work for me too!!! 😄 |
I know this is a very old thread, but I just wanted to say what a life saver this is. I was about to give up on it. |
Thanks for this. I just came across this problem and @solarknight 's solution worked. @alenart1 's explanation helped too! |
These files are missing in the latest sinch library. Only .aar file is visible in the zip file. Any solution? Thanks. |
here is solution :https://blog.csdn.net/u011200604/article/details/52796666 |
Hello,
I have created demo and found below error on 64-bit devices,
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.pckgname.live-2/base.apk"],nativeLibraryDirectories=[/data/app/com.pckgname.live-2/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libvinit.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at io.vov.vitamio.Vitamio.(Vitamio.java:258)
at io.vov.vitamio.LibsChecker.checkVitamioLibs(LibsChecker.java:40)
at com.pckgname.activity.LoadingActivity.onCreate(LoadingActivity.java:221)
at android.app.Activity.performCreate(Activity.java:6500)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3072)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3218)
at android.app.ActivityThread.access$1000(ActivityThread.java:198)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6837)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Note: Its working fine on 32 bit devices.
Help will be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: