UseHover / hover-react-sdk

React Native wrapper for Hover's Android SDK
Apache License 2.0
6 stars 5 forks source link

Problem with UseHover SDK Configuration in build.gradle #9

Open ted1104 opened 2 years ago

ted1104 commented 2 years ago

Hi, i think you are well, i have spent one day to check the problem with the Sdk installation but i can found, when i put this maven { url 'http://maven.usehover.com/releases' } in build.gradle, when i run my app, i receive a bug

Could not determine the dependencies of task ':app:mergeDebugAssets'.

Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven4(http://maven.usehover.com/releases)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

i have checked any ressource about allowInsecureProtocol, but not succeed Thank you for help

G33kfleek commented 2 years ago

try running installing Jetifire read https://enappd.com/blog/androidx-react-native/83/

ted1104 commented 2 years ago

Hello, after enable Jetifier now there is a new bug with volley.1.1.0 See the descriptuon of my console below

What went wrong: Could not determine the dependencies of task ':app:mergeDebugAssets'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find any version that matches com.android.volley:volley:1.1.+. Versions that do not match:

benAyab commented 2 years ago

I have the same problem. How to update volley to version 1.2.1 seems that there no volley 1.1.+