Mon, 07/25/2016 - 12:26
#1
Android SDK Errata (please fix)
Hello! I'm trying to update my current apps using Mapquest, following guide: https://developer.mapquest.com/documentation/android-sdk
After some struggle, I've found some bugs:
- In one place it says dependencies are:
compile('com.mapquest:mapquest-mapping-sdk:1.0.0@aar')
and in the some guide says:
compile("com.mapquest:mapping-android-sdk:1.0.5@aar") {
The one that the user should is is the last one.
- Also, insteado of mavenLocal() I needed to use mavenCentral()
if you use jcenter() on the module project put this:
allprojects {
repositories {
mavenLocal()
jcenter()
maven { url 'http://artifactory.cloud.mapquest.com/artifactory/et-android-binaries' }
and in the app module this:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
compile("com.mapquest:mapping-android-sdk:1.0.5@aar"){
transitive = true
}
thats work for me