iyegoroff / react-native-image-filter-kit

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

After updating to mac os Catalina #27

Closed givik closed 5 years ago

givik commented 5 years ago

gradle build --warning-mode=all --stacktrace

FAILURE: Build failed with an exception.

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

"react": "16.9.0", "react-native": "0.61.2", "react-native-image-filter-kit": "v0.6.0"

iyegoroff commented 5 years ago

Looks like a configuration problem. Please ensure that you followed installation guide for react-native ">=0.61.0" - https://github.com/iyegoroff/react-native-image-filter-kit#installation

phunguyenmurcul commented 5 years ago

I've just installed react-native-image-filter-kit and followed installation guide for react-native >= 0.61.0 but still got this issue. @iyegoroff do you have any suggestions?

givik commented 5 years ago

@phunguyenmurcul I have downgraded to Mac OSX Mojave. Because of this, I could not build an app. I think it's more related to Android SDK rather than react-native-image-filter-kit. https://support.apple.com/en-us/HT208436#contactdeveloper.

See this:

Apple's transition to 64-bit technology is now complete. Starting with macOS Catalina, 32-bit apps are no longer compatible with macOS. If you have a 32-bit app, please check with the app developer for a 64-bit version.

Screen Shot 2019-10-28 at 11 54 44 PM
trankhacvy commented 4 years ago

@givik Do you have any solution for this problem, I got same issue. Can't run debug android.

givik commented 4 years ago

The solution is to delete react-native-image-filter-kit from the project. Our talented team fixed it so Go ahead 🔨💯

maxoux commented 4 years ago

Same problem here, unable to compile for Android, anyone found a solution ?

Muzzamil75 commented 4 years ago

Having the same problem please help me out !

ManigandanRaamanathan commented 4 years ago

@iyegoroff any fix for this? It works fine on mac OS but not building on windows

iyegoroff commented 4 years ago

@ManigandanRaamanathan no, I have never tried to build it on Windows.

ManigandanRaamanathan commented 4 years ago

@iyegoroff can you give it a try on windows?

iyegoroff commented 4 years ago

I don't use Windows in general. If you manage to build rnifk on Windows, please feel free to share your workaround here - #31 or open a pull request.

ManigandanRaamanathan commented 4 years ago

@iyegoroff may I know why this issue has been marked as closed?

ManigandanRaamanathan commented 4 years ago

@iyegoroff this is the error we are receiving image

iyegoroff commented 4 years ago

may I know why this issue has been marked as closed?

Because it doesn't seem like an important issue - e.g. any other platform can be used to build rnifk

DioSerdar commented 3 years ago

So it's impossible to work with on windows? if so you should note this on read.me.

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

Ready to Provide more configuration 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.

bekatd commented 3 years ago

Anyone got this solved?

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 for android with the exact same log as OP stated :|

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

trungnguyencmu commented 3 years ago

// build.gradle

        minSdkVersion = 22
        compileSdkVersion = 29
        targetSdkVersion = 29
        supportLibVersion = "28.0.0"
        googlePlayServicesAuthVersion = "16.0.1"
        androidXAnnotation = "1.1.0"
        androidXBrowser = "1.0.0"
        renderscriptVersion = 21

classpath('com.android.tools.build:gradle:4.2.2')

//gradle-wrapper.properties distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip

=> It worked for me