1. 程式人生 > >android studio大坑 executing external native build for cmake

android studio大坑 executing external native build for cmake

描述: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

解決方案: