just1and0 / React-Native-Paystack-WebView

💸💳The package allows you accept payment using paystack and guess what, it doesn't require linking! just install and begin to use 🚀
https://paystack.com
MIT License
154 stars 100 forks source link

Could not determine the dependencies of task ':react-native-paystack-webview:bundleLibCompileToJarDebug' #139

Open Felix-Asante opened 11 months ago

Felix-Asante commented 11 months ago

I am trying to generate a debug apk for an app I am building that uses React-native-paystack-webview. For some reason when try to build with gradle I get this error "Could not determine the dependencies of task ':react-native-paystack-webview:bundleLibCompileToJarDebug "

please let me know what I am doing wrong and how I can fix it

I am using "react-native-paystack-webview": "^4.0.3", "react-native-webview": "^13.6.0", "react-native": "0.72.1",

hameed-ijadunola commented 10 months ago

@Felix-Asante I'm experiencing the same issue. Did you later resolve this issue?

oluwatoba1 commented 9 months ago

This might be long overdue, I also encountered this issue

Add kotlinVersion = "1.8.22" inside build.ext block in android/build.gradle file

Example:

ext {
        ...
        ndkVersion = "23.1.7779620"
        kotlinVersion = "1.8.22"
    }
just1and0 commented 7 months ago

@Felix-Asante is this still the case with react-native-paystack-webview@4.0.4 ?

cc: @oluwatoba1 @hameed-ijadunola

oluwatoba1 commented 7 months ago

I will bump the version and let you know

uhembenelson commented 6 months ago

Has anybody found a way around this error?

oluwatoba1 commented 6 months ago

Are you still having this issue on 4.0.4? @uhembenelson

uhembenelson commented 6 months ago

@oluwatoba1 No this solution works for me

ext { ... ndkVersion = "23.1.7779620" kotlinVersion = "1.8.22" }

just1and0 commented 6 days ago

Hello, can you please update your package to the latest and try again ?