ttlock/react-native-ttlock

Unable to find com.tongtonglock:ttlock:3.1.2.

Opened this issue · 7 comments

I am getting the following error, I have recently upgraded to RN v65. Is there a reason why this wouldn't be found now?

Could not find com.tongtonglock:ttlock:3.1.2.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/tongtonglock/ttlock/3.1.2/ttlock-3.1.2.pom
- file:/Users/jamesparsons/.m2/repository/com/tongtonglock/ttlock/3.1.2/ttlock-3.1.2.pom
- file:/Users/jamesparsons/Desktop/GoPod/node_modules/react-native/android/com/tongtonglock/ttlock/3.1.2/ttlock-3.1.2.pom
- file:/Users/jamesparsons/Desktop/GoPod/node_modules/jsc-android/dist/com/tongtonglock/ttlock/3.1.2/ttlock-3.1.2.pom
- https://dl.google.com/dl/android/maven2/com/tongtonglock/ttlock/3.1.2/ttlock-3.1.2.pom
- https://www.jitpack.io/com/tongtonglock/ttlock/3.1.2/ttlock-3.1.2.pom
Required by:

same issue here.

The same problem on a fresh build, must be a TTLock problem, will need to wait for an update

Thanks for the reply, this issue seems to be Android related though

https://github.com/ttlock/react-native-ttlock.git
I have test the demo, android works well and don't have the error 'Could not find com.tongtonglock:ttlock:3.1.2.'
I think you don't add the jcenter repository like this:
repositories {
google()
jcenter()
}

In RNv65 it doesnt include jscenter anymore

We are migrating to maven central. please wait

react-native sdk has updated, you can try again.