一、报错信息
Android Studio 编译报错 :
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:externalNativeBuildCleanDebug'.
> A problem occurred starting process 'command 'D:\001_Programs\001_Android\002_Sdk\Sdk\cmake\3.10.2.4988404\bin\ninja.exe''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 657ms
二、解决方案
删除 Module 目录下的编译缓存文件 .externalNativeBuild , .cxx , build ,
3
3
3 个目录 ;
然后选择 " Build / Clean Project " 选项 , 之后可以正常编译 ;
|