android studio add third-party library so


That is, create a new jniLibs in the main directory in the Project directory. And create a corresponding version folder, and then copy the so file directly.

If I only have 32 bit so. There is no 64-bit so. then what should we do?



add below android

ndk {
    abiFilters "armeabi", "armeabi-v7a"
}

Keep the abiFilters you want.

For example, arm64-v8a is not written. Then the arm64 will not be used.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326159966&siteId=291194637