Android Studio CMake Error: Build Command failed

前端 未结 9 1420
孤独总比滥情好
孤独总比滥情好 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条回答
  •  Happy的楠姐
    2020-12-15 20:37

    In case previous answer doesn't work for you, as it happened to me, try to fix permissions in the bin folder of cmake and for ndk. In my case: C:\android-sdk\cmake\3.6.4111459\bin and c:\android-sdk\ndk-bundle

    In my case Users group did had no permissions so Android Studio wasn't able to run cmake. Make sure it has Read and execution permissions.

提交回复
热议问题