/AmapLiveLocation

Live Location with AMAP and Android Architecture Component

Primary LanguageJavaApache License 2.0Apache-2.0

AmapLiveLocation

Live Location with AMAP and Android Architecture Component

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
    compile 'com.github.conanchen:AmapLiveLocation:1.0.3'
}

Step3. Update AndroidManifest.xml

<application ...>
    <meta-data android:name="com.amap.api.v2.apikey" android:value="your amap api key">
        //高德开放平台申请的key
    </meta-data>
</application>