iyegoroff / react-native-image-filter-kit

Various image filters for iOS & Android
MIT License
320 stars 42 forks source link

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

Open hotmailbelike opened 3 years ago

hotmailbelike commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Can you check this solution if it works for you?

hotmailbelike commented 3 years ago

Can you check this solution if it works for you?

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

mohita-lgg commented 3 years ago

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.

atlj commented 3 years ago

https://stackoverflow.com/questions/66578908/task-react-native-image-filter-kitcompiledebugrenderscript-failed/67836228#67836228?newreg=809e79a4732a471d84d048d1d2163823 hi check this