android studio大坑 executing external native build for cmake

时间:2024-05-23 12:39:11

描述:cmakelist.txt中so库的名称不符合规范,android自己建立的c++支持项目中库名是native-lib,

我直接写的库名是test,必须将库名写成test-lib,然后编译就可以了


bug:Error:A problem occurred configuring project ':app'.
> executing external native build for cmake D:\as\AndroidStudioProjects\DHCCLive\app\CMakeLists.txt



android studio大坑 executing external native build for cmake


解决方案:


android studio大坑 executing external native build for cmake