Commit 637e3d21de70ee77c221e7d9e9f227b49bf846ca

Authored by 杨帅
1 parent 35d3b812

1.初始化

app/src/main/AndroidManifest.xml
... ... @@ -11,15 +11,7 @@
11 11 android:supportsRtl="true"
12 12 android:theme="@style/AppTheme">
13 13  
14   - <meta-data
15   - android:name="com.baidu.lbsapi.API_KEY"
16   - android:value="${BAIDU_MAP_APP_KEY}" />
17 14  
18   - <!--跑步-->
19   - <service
20   - android:name="com.baidu.location.f"
21   - android:enabled="true"
22   - android:process=":remote" />
23 15  
24 16 <activity android:name=".MainActivity">
25 17 <intent-filter>
... ...
config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "0.0.2",
  24 + version: "0.0.3",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
moudle_baidumap/src/main/AndroidManifest.xml
... ... @@ -3,6 +3,16 @@
3 3 package="com.example.moudle_baidumap">
4 4  
5 5 <application>
  6 + <meta-data
  7 + android:name="com.baidu.lbsapi.API_KEY"
  8 + android:value="${BAIDU_MAP_APP_KEY}" />
  9 +
  10 + <!--跑步-->
  11 + <service
  12 + android:name="com.baidu.location.f"
  13 + android:enabled="true"
  14 + android:process=":remote" />
  15 +
6 16 <activity android:name="com.cnlive.baidumap.BaiduMapMainActivity"></activity>
7 17 </application>
8 18  
... ...