Adding a .so file in Android Studio

前端 未结 5 1675
攒了一身酷
攒了一身酷 2020-12-02 20:40

I am trying to add an external library, Scandit. I keep getting this error:

    java.lang.UnsatisfiedLinkError: Couldn\'t load scanditsdk-android-3.3.1 from          


        
5条回答
  •  被撕碎了的回忆
    2020-12-02 21:39

    You can add pre built *.so files in Android Studio using gradle 0.7.2+. First create the jniLibs at this location /app/src/main/ location and copy the all the folder with *.so files (armeabi, armeabi-v7a, mips, x86) in the jniLibs.

    enter image description here

提交回复
热议问题