Error:Execution failed for task ':xxx:compileDebugRenderscript'. > llvm-rs-cc is missing

錯誤:

    FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugRenderscript'.

llvm-rs-cc is missing

  • 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 1s
Finished with error: Gradle build failed: 1

 

問題原因:

       sdk執行時找不到 llvm-rs-cc 命令;
 

解決方法:

       在 sdk\build-tools 目錄下找到當前項目編譯版本文件夾,進入看看是否含有此命令文件(下圖),如果沒有刪掉此文件夾,打開Android Studio 點擊make project 重新制作工程即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章