PinLockView icon indicating copy to clipboard operation
PinLockView copied to clipboard

Failed to resolve: com.andrognito.pinlockview:pinlockview:2.1.0 This error I take

Open kariosnetwork opened this issue 1 year ago • 6 comments

Could not resolve com.andrognito.pinlockview:pinlockview:2.1.0. This Details

kariosnetwork avatar Aug 20 '24 09:08 kariosnetwork

same issue

safu2011 avatar Sep 02 '24 05:09 safu2011

is this fixed ?

Bieenn01 avatar Sep 17 '24 06:09 Bieenn01

According to https://mvnrepository.com/artifact/com.andrognito.pinlockview/pinlockview, the artifacts of this library were published in the JCenter repository, which has been recently shut down on August 15th, 2024 (2024-08-15): https://jfrog.com/blog/jcenter-sunset/

Some older articles like https://developer.android.com/build/jcenter-migration refer to the previous statement of JFrog from this article from 2021 claiming that they "will keep JCenter as a read-only repository indefinitely", but in July 2024 they changed their mind:

UPDATE 7/2/2024: After over three years of maintaining JCenter as a read-only repository for legacy Java packages, JFrog is moving forward with an official sunset of JCenter, and, in coordination with Maven Central, will begin automatically redirecting all JCenter requests to the Maven Central Repository. The first of several service brown-outs is scheduled for July 30th and will periodically continue until the final shutdown of JCenter on August 15th. For more details, please see JFrog’s official announcement.

If this project was still maintained, the solution to this would be to migrate to another package host such as Maven Central. This was already suggested in https://github.com/aritraroy/PinLockView/issues/74. However, since this project hasn't been updated since 2017 (see https://github.com/aritraroy/PinLockView/graphs/contributors), it seems very unlikely that this will happen.

Does anyone know of an alternative?

generalmimon avatar Sep 30 '24 14:09 generalmimon

We can try use it directly from git:

build.gradle(app) implementation 'com.github.aritraroy:PinLockView:master-SNAPSHOT'

and in build.gradle(project) maven { url 'https://jitpack.io' }

in

allprojects {
    repositories {
        jcenter()
        maven { url 'https://jitpack.io' }

    }
}

This worked fro me.

mesharkw avatar Oct 26 '24 18:10 mesharkw

We can try use it directly from git:

build.gradle(app) implementation 'com.github.aritraroy:PinLockView:master-SNAPSHOT'

and in build.gradle(project) maven { url 'https://jitpack.io' }

in

allprojects {
    repositories {
        jcenter()
        maven { url 'https://jitpack.io' }

    }
}

This worked fro me.

This works. Great suggestion

thecyfrin avatar Nov 02 '24 04:11 thecyfrin

Update: implementation 'com.github.aritraroy:PinLockView:2.1.0'

mesharkw avatar Jan 15 '25 18:01 mesharkw