编译so包时报错:Error:Execution failed for task ‘:app:compileDebugNdk‘. > Error: Your project contains C++ files but...
在build.gradle中加入以下语句,再重新编译项目就没问题了
sourceSets.main { jniLibs.srcDir ‘libs‘ jni.srcDirs = [] }
标签:source http main contains blog art ... csdn post
编译so包时报错:Error:Execution failed for task ‘:app:compileDebugNdk‘. > Error: Your project contains C++ files but...
在build.gradle中加入以下语句,再重新编译项目就没问题了
sourceSets.main { jniLibs.srcDir ‘libs‘ jni.srcDirs = [] }
标签:source http main contains blog art ... csdn post
原文地址:http://www.cnblogs.com/Sharley/p/8022005.html