How do I get a cpp file in my project to find the header cstdint?
The problem was that I had to add my source files to the add_library method in CMakeList.txt.
Also, I added arguments "-DANDROID_STL=c++_shared" to the android.defaultConfig.externalNativeBuild.cmake method in the build.gradle for Module.app. I think this is the default behavior and isn't necessary though.
I made the mistake of assuming the source files were added to CMakeList.txt automatically.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.