CMake Error at D:\androidProjects\Android-mxxxx\app\src\main\jni\CMakeLists.txt:51 (add_library):
Syntax error in cmake code when parsing string
blog.csdnimg.cn/direct/794c8ba78dc747e99d200ca4b93e3450.png
解决办法,把路径的双斜杠改成单斜杠即可
D:\androidProjects\Android-xxxx\app\src\main\cpp\xxx.cpp
改成如下
D:/androidProjects/Android-xxxx/app/src/main/cpp/xxx.cpp