Forum / MIFARE SDK / Failed to resolve: taplinx-android:nxpnfcandroidlib:1.7
-
I am constantly getting Failed to resolve: taplinx-android:nxpnfcandroidlib:1.7 when I tried to add this dependency as implementation in my project. I have followed the same steps that are mentioned in the document.
Here's my gradle files
1. Project level gradle
allprojects {
repositories {
flatDir {
dirs 'libs'
}
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
/** Following lines are for accessing the TapLinx jars from Repo directly */
maven {
credentials {
username "sdkuser"
password "taplinx"
}
url "http://maven.taplinx.nxp.com/nexus/content/repositories/taplinx/"
}
google()
jcenter()
}
}
2. Module level gradle
api('taplinx-android:nxpnfcandroidlib:1.7@aar') {
transitive = true
}
and I am getting below error while doing the gradle sync
Failed to resolve: taplinx-android:nxpnfcandroidlib:1.7
Show in Project Structure dialog
Affected Modules: Application, cardreading
I am also not able to add AAR file in android project as module.
Please let me know what is wrong.
Note: I am working on windows 10 pro. The same project is running fine on a different machine running the same version of the OS.
+ 0 | - 0
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.