【错误记录】Android Studio 编译报错 ( A problem occurred starting process ‘command ‘ninja.exe‘ ‘ )
生活随笔
收集整理的這篇文章主要介紹了
【错误记录】Android Studio 编译报错 ( A problem occurred starting process ‘command ‘ninja.exe‘ ‘ )
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
文章目錄
- 一、報錯信息
- 二、解決方案
一、報錯信息
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.orgBUILD FAILED in 657ms二、解決方案
刪除 Module 目錄下的編譯緩存文件 .externalNativeBuild , .cxx , build , 333 個目錄 ;
然后選擇 " Build / Clean Project " 選項(xiàng) , 之后可以正常編譯 ;
總結(jié)
以上是生活随笔為你收集整理的【错误记录】Android Studio 编译报错 ( A problem occurred starting process ‘command ‘ninja.exe‘ ‘ )的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【错误记录】Google Play 上架
- 下一篇: 【错误记录】Google Play 上架