maitrungduc1410 / react-native-video-trim

Video trimmer for React Native App
MIT License
37 stars 14 forks source link

Issue with android-utils-sdk-1.1.2 #13

Closed AbdulMoeez060 closed 6 months ago

AbdulMoeez060 commented 6 months ago

Hi everyone, I just added the react-native-video-trim to my project and it's giving the following error when i try to run on android,

Could not resolve com.github.iknow4:android-utils-sdk:1.1.2. Required by: project :app > project :react-native-video-trim Could not resolve com.github.iknow4:android-utils-sdk:1.1.2. Could not get resource 'https://www.jitpack.io/com/github/iknow4/android-utils-sdk/1.1.2/android-utils-sdk-1.1.2.pom'. Could not HEAD 'https://www.jitpack.io/com/github/iknow4/android-utils-sdk/1.1.2/android-utils-sdk-1.1.2.pom'. Received status code 401 from server: Unauthorized

i am using the latest react native version 0.72.6

maitrungduc1410 commented 6 months ago

Have you added jcenter to repositories in android/app/build.gradle?

AbdulMoeez060 commented 6 months ago

I have added it to android/build.gradle as the other repositories(maven) were there too, should i move these to the app folder.

maitrungduc1410 commented 6 months ago

Yeah bro, pls follow my README

AbdulMoeez060 commented 6 months ago

Thanks a lot it works, i guess i ought to follow the setup guides properly.