react-native-image-filter-kit icon indicating copy to clipboard operation
react-native-image-filter-kit copied to clipboard

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

Open kieran-Collins opened this issue 3 years ago • 7 comments

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.

kieran-Collins avatar Mar 11 '21 12:03 kieran-Collins

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

eshraj302 avatar May 09 '21 08:05 eshraj302

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

iyegoroff avatar May 10 '21 16:05 iyegoroff

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 avatar May 21 '21 18:05 dhirajanand014

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.

dhirajanand014 avatar May 21 '21 18:05 dhirajanand014

please check this out

atlj avatar Aug 31 '21 20:08 atlj

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

eth-jashan avatar Oct 06 '21 20:10 eth-jashan

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

tomhopkins avatar Jul 02 '23 08:07 tomhopkins