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

Task :react-native-image-filter-kit:compileDebugRenderscript FAILED #74

Open
hotmailbelike opened this issue May 27, 2021 · 6 comments
Open

Comments

@hotmailbelike
Copy link

hotmailbelike commented May 27, 2021

I have followed all instruction of installation as per this link
https://github.com/iyegoroff/react-native-image-filter-kit

Configuration:
OS: Ubuntu 20.04 LTS- 64bit
react-native: 0.63.4
react-native-image-filter-kit: ^0.7.3

Tried on Android Studio's Virtual Device Pixel 2 XL, 3 XL and 4 XL and also on my physical devices, Oneplus 2 and Xiaomi Poco F1

Crash Logs:
It's quite big so please check from this bin: https://pastebin.com/XRCdGQGW

**Note: I have tried every other solution from the issues opened earlier. None of them worked

**Edit: I have tried with setting buildToolsVersion to 29.0.2 and also 29.0.3, still no luck

Please help me resolve this

@bekatd
Copy link

bekatd commented May 27, 2021

Hello, I am experiencing similar issue

In my case, I am able to build the project locally BUT with a buildToolsVersion 29.0.2 instead of 29.0.3 as is stated in instruction.

ext {
    buildToolsVersion = "29.0.2"
    minSdkVersion = 24
    compileSdkVersion = 29
    targetSdkVersion = 29
    renderscriptVersion = 21
    reactNativeFFmpegPackage = "min"
}

But AppCenter build fails with

* What went wrong:
Execution failed for task ':react-native-image-filter-kit:compileReleaseRenderscript'.
> A problem occurred starting process 'command '/Users/runner/Library/Android/sdk/build-tools/29.0.2/i686-linux-android-ld''

Now I am trying to build with 29.0.3 on AppCenter and let you know if it helps there

@hotmailbelike
Copy link
Author

In my case, I am able to build the project locally BUT with a buildToolsVersion 29.0.2 instead of 29.0.3 as is stated in instruction.

I tried both versions, doesn't even run locally for me unfortunately

@bekatd
Copy link

bekatd commented May 27, 2021

Can you check this solution if it works for you?

@hotmailbelike
Copy link
Author

Can you check this solution if it works for you?

Didn't help. I have llvm-rs-cc present in all folders

@mohita-lgg
Copy link

Hi, Any fix for this error yet ? I am also facing this issue in Android.

        buildToolsVersion = "29.0.2"
        minSdkVersion = 23
        compileSdkVersion = 29
        targetSdkVersion = 29

Please help.

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

4 participants