iyegoroff / react-native-image-filter-kit

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

Ubuntu: -Task :react-native-image-filter-kit:compileDebugRenderscript FAILED #59

Open kieran-Collins opened 3 years ago

kieran-Collins commented 3 years ago

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 https://github.com/iyegoroff/react-native-image-filter-kit/issues/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.

eshraj302 commented 3 years ago

I only downgraded to the react-native-image-filter-kit: 0.7.1, and now its compiling successfully

iyegoroff commented 3 years ago

These compileDebugRenderscript build issues probably would be fixed if you switch to react-native >=0.64.0 and react-native-image-filter-kit >=0.8.0. With rn v0.64.0 rnifk build process has changed because renderscript support mode is not needed anymore since required min Android SDK is 21 - https://github.com/iyegoroff/react-native-image-filter-kit#installation

dhirajanand014 commented 3 years ago

I only downgraded to the react-native-image-filter-kit: 0.7.1, and now its compiling successfully

What all the steps followed to downgrade? Can you please tell?

dhirajanand014 commented 3 years ago

These compileDebugRenderscript build issues probably would be fixed if you switch to react-native >=0.64.0 and react-native-image-filter-kit >=0.8.0. With rn v0.64.0 rnifk build process has changed because renderscript support mode is not needed anymore since required min Android SDK is 21 - https://github.com/iyegoroff/react-native-image-filter-kit#installation

Everything is fine until building the application for release in Android using the ./gradlew assembleRelease.

atlj commented 3 years ago

please check this out

eth-jashan commented 3 years ago

I solved after installing this package for 64-bit binaries : sudo apt-get install libncurses5 Also install the collection of libraries by using this command,

sudo apt-get install ia32-libs

tomhopkins commented 1 year ago

This may well be relevant https://github.com/iyegoroff/react-native-image-filter-kit/issues/144