Commit 637e3d21de70ee77c221e7d9e9f227b49bf846ca
1 parent
35d3b812
1.初始化
Showing
3 changed files
with
11 additions
and
9 deletions
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
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 |