java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader

前端 未结 17 1822
耶瑟儿~
耶瑟儿~ 2020-11-29 22:21

Is there someone who had experience with this error?

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


        
17条回答
  •  攒了一身酷
    2020-11-29 22:48

    Simple Solution with Pics
    
    Step1: Add following code in build.gradle file under defaultConfig
    
         ndk {
                abiFilters "armeabi-v7a", "x86", "armeabi", "mips"
            }
    Example:[![enter image description here][1]][1]
    
    
    Steo 2: Add following code in gradle.properties file
    
    android.useDeprecatedNdk=true
    
    Example: [![enter image description here][2]][2]
    
    Step 3: Sync Gradle and Run the Project.
    
    @Ambilpur
    
    
      [1]: https://i.stack.imgur.com/IPw4y.png
      [2]: https://i.stack.imgur.com/ByMoh.png
    

提交回复
热议问题