Error: Your project contains C++ files but it is not using a supported native build system
2016-11-22 14:28
495 查看
1.在project的build.gradle文件中添加
切记,android首字母小写。
2.在app的build.gradle文件中,找到defaultConfig属性,在其内部添加
3.重新编译运行即可
android.useDeprecatedNdk=true
切记,android首字母小写。
2.在app的build.gradle文件中,找到defaultConfig属性,在其内部添加
ndk { moduleName "JniUtil" //生成的so名字 // abiFilters "armeabi", "armeabi-v7a", "x86" //输出指定三种abi体系结构下的so库,目前可有可无。 }
3.重新编译运行即可
相关文章推荐
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system.
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system.
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Your project contains C++ files but it is not using a supported native build system
- Your project contains C++ files but it is not using a supported native build system.
- [笔记]如何解决Your project contains C++ files but it is not using a supported native build system
- 如何解决Your project contains C++ files but it is not using a supported native build system
- Eclipse项目转AndroidStudio报错:Your project contains C++ files but it is not using a supported native...
- Error:Execution failed for task ':app:compileDebugNdk'. > Error: Your project contains C++ files but
- JAVA Error:The project was not built since its build path is incomplete. Cannot find the class file for java.util.Map$Entry.....
- JAVA Error:The project was not built since its build path is incomplete. Cannot find the class file for java.util.Map$Entry.....
- The project was not built since its build path is incomplete. Cannot find the class file for java.la
- Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev