UnsatisfiedLinkError: dalvik.system.PathClassLoader

后端 未结 1 1236
灰色年华
灰色年华 2020-12-06 17:34

I\'m making an application for AndroidTV and get the error

java.lang.UnsatisfiedLinkError:
 dalvik.system.PathClassLoader[DexPathList[[zip file
 \"/data/ap         


        
相关标签:
1条回答
  • 2020-12-06 18:16

    So this is the solution for UnsatisfiedLinkError for my case but I think it's general.

    Put in gradle.properties this line

    android.useDeprecatedNdk=true;
    

    and in build.gradle this line in defaultConfig field

    ndk {
                abiFilters "armeabi", "armeabi-v7a"
            }
    
    0 讨论(0)
提交回复
热议问题