file(GLOB native_srcs "src/main/cpp/*.cpp" "src/main/cpp/dalvik/*.cpp" "src/main/cpp/art/*.cpp" "src/main/cpp/art/*.S") add_library( # Sets the name of the library. native-lib # Sets the library as a shared library. SHARED # Provides a relative path to your source file(s). ${native_srcs} )更改CMakeLists.txt的配置,重新加载一次就OK。
android studio 把c++放到cpp文件夹不显示问题
最新推荐文章于 2024-01-04 11:37:37 发布