Android Studio CMake Error: Build Command failed

前端 未结 9 1438
孤独总比滥情好
孤独总比滥情好 2020-12-15 20:21

I\'m running into an Error when I open a new project in Android Studio from the Code Samples (Hello JIN). When the Project is opened the following:

Build com         


        
9条回答
  •  被撕碎了的回忆
    2020-12-15 20:36

    I found this Solution Online and this worked, however there was no explanation on how it worked: Remove the following block of code from you build.gradle file:

    externalNativeBuild {
        cmake {
            path "src/main/cpp/CMakeLists.txt"
        }
    }
    

提交回复
热议问题