![]() ![]() Then I anycodings_cmake created a new module library mylibrary for anycodings_cmake this project, and in there I added a cpp anycodings_cmake folder and test.h and it also resolved the anycodings_cmake symbol vector(mylibrary module's anycodings_cmake adle had been correctly added CMake anycodings_cmake stuff by me). This time Android Studio anycodings_cmake resolved symbol vector correctly. I anycodings_cmake added code #include in line 3 anycodings_cmake in this file. After I clicked the anycodings_cmake finish button, Android Studio automatically anycodings_cmake created the file native-lib.cpp for me. In the last anycodings_cmake step, I kept the default Toolchain Default anycodings_cmake for C++ Standard option. anycodings_cmake In step 1 of the new project wizard, I anycodings_cmake checked include C++ Support. I created a new project in Android Studio. ![]() What's the anycodings_cmake key difference between my project and anycodings_cmake teapots that makes the latter one able to anycodings_cmake resolve vector and std but mine not? What did I do wrong? Why does project anycodings_cmake teapots not have this problem? Īndroid Studio did anycodings_cmake resolve vector and std symbol for this anycodings_cmake project. I imported project teapots which contains anycodings_cmake #include. anycodings_cmake I don't have code completion on some anycodings_cmake variables, like array in test.h. ![]() It can be anycodings_cmake compiled successfully and installed on my anycodings_cmake phone. I move the mouse over it and it anycodings_cmake says Can't resolve container 'std'. Std in std::vector anycodings_cmake is also red. ![]() When I move the mouse over it, it will anycodings_cmake popup a window which says Cannot find anycodings_cmake 'vector'. In file anycodings_cmake ~/project/library/src/main/cpp/test.h, anycodings_cmake vector in #include is anycodings_cmake red. Std::vector array // std is red, says "can't resolve container std" ~/project/library/src/main/cpp/test.h: #include // vector is red, says "cannot find vector" ~/project/adle include ':app', ':library' I also tried '-DANDROID_STL=gnustl_shared', result is same ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |