Getting "Cause: unable to find valid certification path to requested target" error
I have added maven url in settings.gradle file.
maven {
url 'https://esri.jfrog.io/artifactory/arcgis'
}
Facing above issue with Failed to resolve com.esri.arcgisruntime:arcgis-android:100.15.1 error.
The error message "unable to find valid certification path to requested target", seems like to be the clue. Looks like you might be implementing the SDK on some restricted network where the required certificates might not install. This could happen if the network is behind a proxy. Not sure if you can test this on a different network.
I would recommend visiting https://esri.jfrog.io/artifactory/arcgis on the browser and export the proxy signed CA.
Head to Android studio -> Preferences -> Tools -> Server Certificates and add the exported certificate to allow Android studio to accept it as a trusted certificate.
Gradle Implementation
// project level settings.gradle
dependencyResolutionManagement {
repositories {
maven { url 'https://esri.jfrog.io/artifactory/arcgis' }
}
}
// app level build.gradle
dependencies {
implementation 'com.esri:arcgis-maps-kotlin::100.15.1'
}