The corresponding lib resource downloaded from the official website has been placed under the project lib or an error is reported. The reason is that the project does not load the lib
sourceSets { main { jniLibs.srcDirs = ['libs'] } } put this in build.gradle inside android inside android{ ............... .....
sourceSets { main { jniLibs.srcDirs = ['libs'] } }
.... }