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

Windows: Task :react-native-image-filter-kit:compileDebugRenderscript FAILED #31

Closed
oleksyremigiusz1 opened this issue Jan 21, 2020 · 17 comments

Comments

@oleksyremigiusz1
Copy link

The error occurs even on fresh project with only react-native-image-filter-kit imported while trying to build an app using npx react-native .

What went wrong:
Execution failed for task ':react-native-image-filter-kit:compileDebugRenderscript'.

Uninstalling package makes project work again.

I'm assuming that using Windows may be the problem.

I am using
RN 0.61.5
react-native-image-filter-kit 0.7.0
Windows 7

@Bartson
Copy link

Bartson commented Jan 22, 2020

Same problem on Mac.
OS: Catalina
RN 0.61.5

@iyegoroff
Copy link
Owner

@oleksyremigiusz1, I have never built it on Windows, so I don't know how this can be fixed. If you succeed in compiling rnifk on Windows, please feel free to share your workaround here or open a pull request with required fix.

@Bartson, other users report (#27) that rnifk can't be compiled on Catalina.

@iyegoroff iyegoroff changed the title Task :react-native-image-filter-kit:compileDebugRenderscript FAILED Windows: Task :react-native-image-filter-kit:compileDebugRenderscript FAILED Jan 24, 2020
@iyegoroff iyegoroff added the help wanted Extra attention is needed label Jan 24, 2020
@Eugnis
Copy link

Eugnis commented Feb 1, 2020

Same on Catalina. Only while compile Android

@Yigityakut
Copy link

Yigityakut commented Feb 10, 2020

I am having the same issue. Did you solve the problem?

I am stuck at this point and I need a filtering library for my project and can't find any...

@MR-Neto
Copy link

MR-Neto commented Feb 19, 2020

I was having the same issue and I found the following links. Now it's working for me.

On Catalina, build tools need to be updated to version 29.0.3 (https://developer.android.com/studio/releases/build-tools).

Plus, you must update your gradle plugin version to 3.6.0-rc02 or 4.0.0-beta1. (https://issuetracker.google.com/issues/142590626)

@juanjsebgarcia
Copy link

Where can one find the 4.0.0-beta1? I only managed to find com.android.tools.build:gradle:4.0.0-alpha09 on mavenCentral

@MR-Neto
Copy link

MR-Neto commented Feb 21, 2020 via email

@iyegoroff iyegoroff removed the help wanted Extra attention is needed label Mar 16, 2020
@ManigandanRaamanathan
Copy link

@MR-Neto @juanjsebgarcia @Yigityakut @Eugnis @oleksyremigiusz1 did you find any fix for this issue?

@Yigityakut
Copy link

@ManigandanRaamanathan I decided to use other library to work with filters. gl-react-native-filters

@juanjsebgarcia
Copy link

@ManigandanRaamanathan I stashed my changes, and next time I went to try them it worked.

Apologies the following is in screenshots, this is the stash (fortunately had not deleted it!)

Screenshot 2020-05-12 at 21 57 20
Screenshot 2020-05-12 at 21 57 30
Screenshot 2020-05-12 at 21 57 44
Screenshot 2020-05-12 at 21 57 50
Screenshot 2020-05-12 at 21 58 01

@ManigandanRaamanathan
Copy link

@juanjsebgarcia thanks for the update. @iyegoroff we have fixed the issue by installing NDK version 20.0.559 from android studio. This required only on windows OS.

@babyrusa
Copy link

I had the same issue on Windows and fixed with having buildToolsVersion = "29.0.2" instead of buildToolsVersion = "29.0.3"

@kieran-Collins
Copy link

kieran-Collins commented Mar 11, 2021

when i run this npx react-native run-android
I got this
Task :react-native-image-filter-kit:compileDebugRenderscript FAILED

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

Configuration
OS
Ubuntu 18.04.5 LTS- 64bit
yarn -> 1.22.5
node-> v14.16.0
npm ->6.14.11
react-native-> 0.63.4
react-native-image-filter-kit": "^0.7.3

Ready to Provide more configuration details if needed

Tried on Android Studio's Virtual Device Pixel 4 XL API 29 Android 10 &&
On my device Samsung Galaxy S7

both did't run

Tried installing package again in my Project
Tried this Solution with #31
by changing android/app/build.gradle && android/build.gradle && gradle.wrapper.properties

I am New to React-Native and Android Apps.
Any Hints or Help will be really Gratefull for me.

@SatalBill
Copy link

Same issue with this package. Still no solution yet?

@anastasia-son
Copy link

anastasia-son commented Jun 15, 2023

Same issue on macOS Ventura
Task :react-native-image-filter-kit:compileDebugRenderscript FAILED

        buildToolsVersion = "33"
        minSdkVersion = 24
        compileSdkVersion = 33
        targetSdkVersion = 33
        kotlin_version = '1.6.20'
        ndkVersion = "21.4.7075529"
        supportLibVersion = "30.0.0"

@hashhirr
Copy link

hashhirr commented Dec 8, 2023

on ios it is compiling like a charm i am only getting this error when i compile it on android.

@NiccoloCase
Copy link

have anyone found a solution?

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