1.Android Studio中新建项目;

2.打开project根目录下的build.gradle文件

repositories {
        jcenter()
        // Add the following ArcGIS repository
        maven {
            url 'http://dl.bintray.com/esri/arcgis'
        }
    }

3.打开app目录下的build.gradle文件

android {
    ...
    packagingOptions {
        exclude 'META-INF/LGPL2.1'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/NOTICE'
    }
}
dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:21.0.3'
    //add
    compile 'com.esri.arcgis.android:arcgis-android:10.2.6-2'
}

4.配置完之后,点击Sync Project with Gradle Files

5.Ok

相关文章:

  • 2021-12-19
  • 2022-02-14
  • 2021-05-23
  • 2022-01-08
  • 2021-07-27
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2022-01-18
  • 2021-08-30
  • 2021-08-06
  • 2021-05-20
相关资源
相似解决方案