После перехода в linux env (arch) я не могу построить свой проект на основе NFC, работающей с библиотекой NXP (карты Mifare).Процесс сборки завершается неудачно при синхронизации gradle.
Android Studio 3.4
Gradle plugin 3.4.0
Gradle wrapper 5.1.1
В окнах с теми же версиями сборка успешна.
в project.gradle
allprojects {
repositories {
...
flatDir {
dirs 'libs'
}
}
}
в app.gradle:
...
implementation ('com.nxp.nfclib:nxpnfcandroidlib-1.5@aar') {
transitive = true
}
...
Ошибка
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform artifact 'nxpnfcandroidlib-1.5.aar (com.nxp.nfclib:nxpnfcandroidlib-1.5:)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform artifact 'nxpnfcandroidlib-1.5.aar (com.nxp.nfclib:nxpnfcandroidlib-1.5:)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Failed to transform artifact 'nxpnfcandroidlib-1.5.aar (com.nxp.nfclib:nxpnfcandroidlib-1.5:)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@release/compileClasspath': Failed to transform artifact 'nxpnfcandroidlib-1.5.aar (com.nxp.nfclib:nxpnfcandroidlib-1.5:)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app
ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Failed to transform artifact 'nxpnfcandroidlib-1.5.aar (com.nxp.nfclib:nxpnfcandroidlib-1.5:)' to match attributes {artifactType=jar}
Show Details
Affected Modules: app