File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 1010当前使用model的bulid.gradle 最后加入 x.x.x为版本号请使用最新稳定版当前编写文档时最新版本1.0.1
1111``` java
1212 compile ' org.yh.yhframe:WatchLib:last_version'
13+
14+ // App 继承ShunQingApp 必须SDK初始化用
15+ public class MyApp extends ShunQingApp
16+ {
17+ @Override
18+ public void onCreate ()
19+ {
20+ super . onCreate();
21+ }
22+ ......
23+ .....
24+ }
1325```
1426## 3,配置
1527项目的bulid.gradle
@@ -23,10 +35,16 @@ allprojects {
2335```
2436## 4,百度地图Key配置
2537``` JAVA
26- < ! -- 百度地图Key -- >
38+ < application
39+ ....
40+ android: name= " .MyApp"
41+ android: theme= " @style/BaseAppTheme" >
42+ < ! -- 百度地图Key -- >
2743 < meta- data
2844 android: name= " com.baidu.lbsapi.API_KEY"
29- android: value= " 你自己的key百度申请" >
45+ android: value= " a9G8YTwtEP6DlGtXMQefGFktB0m0eTMC" / >
46+ ....
47+ < / application>
3048```
3149## 5,同步项目
3250## 6,新建一个普通的Activiy
You can’t perform that action at this time.
0 commit comments