Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find com.tongtonglock:ttlock:3.1.2. #6

Open
snips11 opened this issue Sep 7, 2021 · 7 comments
Open

Unable to find com.tongtonglock:ttlock:3.1.2. #6

snips11 opened this issue Sep 7, 2021 · 7 comments

Comments

@snips11
Copy link

snips11 commented Sep 7, 2021

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:

@snips11 snips11 changed the title Un Unable to find com.tongtonglock:ttlock:3.1.2. Sep 7, 2021
@jazib-m
Copy link

jazib-m commented Sep 7, 2021

same issue here.

@snips11
Copy link
Author

snips11 commented Sep 7, 2021

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

@snips11
Copy link
Author

snips11 commented Sep 8, 2021

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

@ttlock
Copy link
Owner

ttlock commented Sep 8, 2021

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()
}

@snips11
Copy link
Author

snips11 commented Sep 8, 2021

In RNv65 it doesnt include jscenter anymore

@ttlock
Copy link
Owner

ttlock commented Sep 9, 2021

We are migrating to maven central. please wait

@ttlock
Copy link
Owner

ttlock commented Sep 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants