Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with UseHover SDK Configuration in build.gradle #9

Open
teddy-walter opened this issue Apr 1, 2022 · 3 comments
Open

Problem with UseHover SDK Configuration in build.gradle #9

teddy-walter opened this issue Apr 1, 2022 · 3 comments

Comments

@teddy-walter
Copy link

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
Copy link

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

@teddy-walter
Copy link
Author

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:
- 1.2.1
- 1.2.1-rc1
- 1.2.0
- 1.2.0-rc1
Searched in the following locations:
- file:/C:/Users/admin/Documents/MY-DEV/MOBILE/REACT-NATIVE/PROJECT/utrans/node_modules/react-native/android/com/android/volley/volley/maven-metadata.xml
- file:/C:/Users/admin/Documents/MY-DEV/MOBILE/REACT-NATIVE/PROJECT/utrans/node_modules/jsc-android/dist/com/android/volley/volley/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/android/volley/volley/maven-metadata.xml
- https://dl.google.com/dl/android/maven2/com/android/volley/volley/maven-metadata.xml
- https://www.jitpack.io/com/android/volley/volley/maven-metadata.xml - http://maven.usehover.com/releases/com/android/volley/volley/maven-metadata.xml
Required by:
project :app > project :react-native-hover-react-sdk > com.hover:android-sdk:1.4.5

@benAyab
Copy link

benAyab commented Jul 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants