eclipse中的项目导出成Androidstudio的识别的项目,so文件打包不进去

需要加入jniLibs.srcDirs = ['libs']才可以把so文件打入包内
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
上一篇:ios kvo


下一篇:gson转换带有objectId的问题