-
Notifications
You must be signed in to change notification settings - Fork 301
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
[SOLVED] Could not find com.wei.android.lib:fingerprintidentify:1.2.6 during compiling in RN 0.65.1 #192
Comments
If you have followed upgrade-helper and removed the jcenter maven repository, I believe you will need to add it back to your build.gradle file. Can you test if that fixes your build? react-native core no longer requires jcenter I believe, but there are many native modules wrapping libraries that are still only available on jcenter. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
With jcenter() it works. Thank you @mikehardy ! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Yes, adding jcenter() to build.gradle works |
Re-adding jcenter is only a temporary solution, since jcenter will be offline in February 2022. |
@matteodanelli no, it won't. They will leave it up indefinitely for read access. If you know differently please please provide a reference from them as the last time I checked (and I check frequently) they say read-only indefinitely. |
@mikehardy Right, I've missed the "read-only" update. Anyway, isn't better to move away from jcenter? |
@matteodanelli it's almost as if someone should propose a PR and we should merge it, in order to get rid of jcenter, oh wait #189 ;-) Just needs a release. Would you like to help maintain the package and help get releases out the door? I'm pretty low on time. Or at minimum you could use the tip of the current main branch as a gitref in package.json and report your results, letting us know it is working or not, checking+protecting quality prior to release is most of the time required for release... |
I understood your point. |
Oooo - I thought it was out completely with that one. Thanks for checking complete removal, excited for a PR to really remove it where needed! Thanks |
Here the MR. Removed completely jcenter and replaced with jitpack where needed. |
Hi, I cannot get the artifact from jitpack. https://www.jitpack.io/com/wei/android/lib/fingerprintidentify/1.2.6/fingerprintidentify-1.2.6.pom It returns not found. |
That looks like the wrong URL. The dependency here is
Looks great https://www.jitpack.io/com/github/uccmawei/fingerprintidentify/1.2.6/fingerprintidentify-1.2.6.pom |
@mikehardy My jenkins is trying to get that artifact though.
It's from the dependency you said. Do I forget any configuration? |
@agestaun using the git blame function you have at your disposal https://github.com/matteodanelli/react-native-fingerprint-scanner/blame/master/android/build.gradle You can deduce that the dependency was changed 8 months ago in matteodanelli@9158ace And that commit has not been released, there have been no releases here recently though the package is alive I think you'll need to depend on the most recent commit hash then, and treat it as a release in your package.json This is the commit hash 54b06e1 (edit, corrected the URL just now) This is a built in feature of npm/yarn, you just specify the repo URL with |
I saw that there have been no new versions recently and the jcenter was completely removed. I didn't want to point to a commit, but it's better than the crash I get when compiling. Thank you mike. |
Yeah, no alternative at the moment but the commit hash as reference. Need to get a release out here but been swamped :-) |
perhaps a slightly better solution instead adding whole
|
@noumantahir that's a nice trick, should have a non-trivial positive impact on the artifact resolution phase build performance |
jcenter() has gone offline😢 |
try replacing in node_modules/react-native-fingerprint-scanner/build.gradle |
Does this not work, from above? Depending on the commit hash? I think you'll need to depend on the most recent commit hash then, and treat it as a release in your package.json This is the commit hash 54b06e1 (edit, corrected the URL just now) This is a built in feature of npm/yarn, you just specify the repo URL with # at the end and it works. |
i fixed it using latest commit in my package.json
|
Thank you for all the answers
|
Could not find com.wei.android.lib:fingerprintidentify:1.2.6. |
it's already 2023, and the problem has not been solved? Why can't the official repository fix it? |
@valery-lavrik you do not appear to be the primary maintainer on any repositories, maintain a repo for a few years, then come back and let us know |
Worked for me. // implementation "com.wei.android.lib:fingerprintidentify:${safeExtGet("fingerprintidentify", "1.2.6")}"
implementation 'com.github.uccmawei:FingerprintIdentify:1.2.6' |
…mment. This fixes the compiling issue (Could not find com.wei.android.lib:fingerprintidentify:1.2.6)
Thanks now working |
This works well, thank you. |
love you bro |
Thats awesome. You saved my day, thank bro |
…ner dependency (#6131) ## Short description This PR fixes an unresolvable dependency during Android release. ## List of changes proposed in this pull request - See hieuvp/react-native-fingerprint-scanner#192 ## How to test Run the release workflow
Fantastic, thank you |
plz help me Execution failed for task ':react-native-fingerprint-scanner:generateReleaseRFile'.
|
I am facing the issue. I have tried all suggestion. (add jcenter, update react-native-fingerprint-scanner/build.gradle, update package.json) nothing is working. `7: Task failed with an exception.
|
HERE IS THE SOLUTION:
In your package.json, alter the dependency on this module like so to get the non-jcenter version that has not been released yet:
Since I've upgraded my RN from 0.64.2 to 0.65.1 a problem occured with compiling my app for android.
Does someone know how to download the missing library?
Many thanks.
The text was updated successfully, but these errors were encountered: