Commit 5f2732e9 authored by jianglx's avatar jianglx

修改仅在debug模式下日志记录与bug捕获

parent a4cc0cda
......@@ -8,8 +8,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
flavorDimensions "default"
versionCode 154
versionName "1.5.4"
versionCode 151
versionName "1.5.1"
multiDexEnabled true
......
......@@ -69,8 +69,10 @@ public class RvClientApplication extends FrameApp {
ShareInstall.getInstance().init(this);
ShareInstall.getInstance().reportRegister();
}
if(BuildConfig.DEBUG){
LogUtil.setLogEnable(true, getApplicationContext());
CrashHandler.getInstance().init(getApplicationContext());
}
// 在使用 SDK 各组间之前初始化 context 信息,传入 ApplicationContext
SDKInitializer.initialize(this);
//自4.3.0起,百度地图SDK所有接口均支持百度坐标和国测局坐标,用此方法设置您使用的坐标类型.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment