Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Build failed #13

Open
YSY4869 opened this issue Jan 12, 2021 · 2 comments
Open

Build failed #13

YSY4869 opened this issue Jan 12, 2021 · 2 comments

Comments

@YSY4869
Copy link

YSY4869 commented Jan 12, 2021

I failed to compile the script file saturation.rs. The error info. was

com.android.ide.common.process.ProcessException:
Error while executing process $mysdkroot/build-tools/28.0.3/llvm-rs-cc with arguments {
-I $mysdkroot/build-tools/28.0.3/renderscript/include/
-I $mysdkroot/build-tools/28.0.3/renderscript/clang-include/
-rs-package-name=androidx.renderscript
-p $myprojroot/renderscript-samples-main/BasicRenderScript/Application/build/generated/renderscript_source_output_dir/debug/out
-target-api 18 $myprojroot/renderscript-samples-main/BasicRenderScript/Application/src/main/rs/saturation.rs
-O 3
-o $myprojroot/renderscript-samples-main/BasicRenderScript/Application/build/generated/res/rs/debug/raw
}

I can't get any helpful info. from it. Any suggestions? Thanks!

@BlackSpruce
Copy link

In the latest version of Android Studio I removed the buildToolsVersion "29.0.3" from the Gradle script and this error disappeared.

@YSY4869
Copy link
Author

YSY4869 commented Apr 1, 2021

In the latest version of Android Studio I removed the buildToolsVersion "29.0.3" from the Gradle script and this error disappeared.

Thank you for your help, but I still can't solve the problem. I have several questions below.

  • Which version of AS are you using? Mine is 4.1.3 and I think it should be the latest now.
  • Which version of build Tools are you using? The README file recommends v28.0.3 and you have removed v29.0.3. I have tried v28.0.3, v29.0.2 and v29.0.3, but all failed.
  • Which version of Gradle plugin are you using?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants