ParkSangGwon / TedPermission

Easy check permission library for Android Marshmallow
1.74k stars 239 forks source link

Can't download build.3.2.0 #132

Closed ubulem closed 3 years ago

ubulem commented 3 years ago

I am trying to use coroutine version but Android Studio failed to download the library. Here is an error log: Could not GET 'https://jitpack.io/io/github/ParkSangGwon/tedpermission-coroutine/3.2.0/tedpermission-coroutine-3.2.0.pom'. Received status code 401 from server: Unauthorized

Looks like it is a private repo or something on jitpack.

ParkSangGwon commented 3 years ago

@ubulem Oh, I miss publish coroutine library Now, you can download. Try again!

ubulem commented 3 years ago

Sorry to bother but it still can't be downloaded :( P.S. Looks like build 3.2.1 is downloaded now but it is missing base library (which stays build 3.2.0 in my understanding)

ted-prnd commented 3 years ago

@ubulem Do you use jitpack()? You have to use mavenCentral()

repositories {
  google()
  mavenCentral()
}
elo24o commented 3 years ago

Hi, I'm getting this error Screen Shot 2021-08-26 at 6 48 06 PM

ted-prnd commented 3 years ago

@elo24o Show me your build.gradle dependencies code

You can not use implementation 'io.github.ParkSangGwon:tedpermission:3.2.1'

You have to choice below

repositories {
  google()
  mavenCentral()
}

dependencies {
    // Normal
    implementation 'io.github.ParkSangGwon:tedpermission-normal:x.y.z'

    // Coroutine
    implementation 'io.github.ParkSangGwon:tedpermission-coroutine:x.y.z'

    // RxJava2
    implementation 'io.github.ParkSangGwon:tedpermission-rx2:x.y.z'
    // RxJava3
    implementation 'io.github.ParkSangGwon:tedpermission-rx3:x.y.z'
}

Please read this https://github.com/ParkSangGwon/TedPermission#setup

elo24o commented 3 years ago

@ted-prnd I'm using the correct implementation Screen Shot 2021-08-26 at 6 55 09 PM

elo24o commented 3 years ago

sorry, what is the correct version? I'm following the repository version https://search.maven.org/artifact/io.github.ParkSangGwon/tedpermission-normal/3.2.1/aar

ted-prnd commented 3 years ago

@elo24o Ah, do you mean build fail? I thinks gradle sync fail. I will check this problem

elo24o commented 3 years ago

yep, for build action!

ted-prnd commented 3 years ago

@elo24o try again please

elo24o commented 3 years ago

@ted-prnd now has a different issue Screen Shot 2021-08-26 at 8 00 37 PM

ted-prnd commented 3 years ago

@elo24o TT Sorry.. I will fix again

ted-prnd commented 3 years ago

@elo24o Fixed! Use 3.2.3

elo24o commented 3 years ago

@ted-prnd It's working perfectly, thank you.