maitrungduc1410 / react-native-video-trim

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

Received status code 401 from server: Unauthorized #15

Closed AndyDesign999 closed 6 months ago

AndyDesign999 commented 6 months ago

After npm install react-native-video-trim, facing error in android platform.

repositories {
    ... other repos if any
    jcenter()
}

Error: 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

maitrungduc1410 commented 6 months ago

let me check on this

maitrungduc1410 commented 6 months ago

I just checked, everything is still fine.

Please note that you must add jcenter() to repositories in android/app/build.gradle and NOT android/build.gradle

wesleirocha13 commented 6 months ago

I'm having same problem.

Below is my repositories in android/app/build.gradle

repositories {
    google()
    mavenCentral()
    jcenter()
}

I made several types of changes regarding the repositories insertion and I always end up receiving this error

maitrungduc1410 commented 6 months ago

Okay, I think I'll move the repo directly into my library to get rid of this error

maitrungduc1410 commented 6 months ago

Hi guys, please upgrade to 1.0.5 this issue should be gone

AndyDesign999 commented 6 months ago

@maitrungduc1410 Thanks! Issue resolved.