Commit 637e3d21de70ee77c221e7d9e9f227b49bf846ca

Authored by 杨帅
1 parent 35d3b812

1.初始化

app/src/main/AndroidManifest.xml
@@ -11,15 +11,7 @@ @@ -11,15 +11,7 @@
11 android:supportsRtl="true" 11 android:supportsRtl="true"
12 android:theme="@style/AppTheme"> 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 <activity android:name=".MainActivity"> 16 <activity android:name=".MainActivity">
25 <intent-filter> 17 <intent-filter>
config.gradle
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "0.0.2", 24 + version: "0.0.3",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.module", 26 packeg : "com.cnlive.module",
27 //Lib库名称 27 //Lib库名称
moudle_baidumap/src/main/AndroidManifest.xml
@@ -3,6 +3,16 @@ @@ -3,6 +3,16 @@
3 package="com.example.moudle_baidumap"> 3 package="com.example.moudle_baidumap">
4 4
5 <application> 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 <activity android:name="com.cnlive.baidumap.BaiduMapMainActivity"></activity> 16 <activity android:name="com.cnlive.baidumap.BaiduMapMainActivity"></activity>
7 </application> 17 </application>
8 18