Build failed: llvm-rs-cc is missing


#1

When I run the command:

sudo ionic cordova build android

Im getting this error after gradle.
Tried some things I found online, but doesn’t work.
Some people are saying that I need to update my Build-tools but it’s already up-to-date.

 :CordovaLib:compileDebugRenderscript FAILED
        
        FAILURE: Build failed with an exception.
        
        * What went wrong:
        Execution failed for task ':CordovaLib: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.
        
        BUILD FAILED
        
        Total time: 48.839 secs
        Error: /home/thijmen/Desktop/abk/platforms/android/gradlew: Command failed with exit code 1 Error output:
        FAILURE: Build failed with an exception.
        
        * What went wrong:
        Execution failed for task ':CordovaLib: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.

Hope some one got a solution for this.

Thanks in advance.


Execution failed for task ':CordovaLib:compileDebugRenderscript'