Android studio gradle升级后so文件的存放目录要改

会出现Android Studio Couldn't Find “**.so”的错误

1.直接修改so文件路径到

With Gradle 0.7.2+ you can put your native libraries directly into src/main/jniLibs and it will work automatically.

http://stackoverflow.com/questions/28209184/android-studio-couldnt-find-libiconv-so

2.或者参照http://blog.csdn.net/isenergy/article/details/49495289

亲测第一种有效

你可能感兴趣的:(Android studio gradle升级后so文件的存放目录要改)