Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants