2.0封包

This commit is contained in:
huangzhuanghua
2016-09-26 16:23:59 +08:00
parent ce94de1214
commit afa3f1d705
3 changed files with 5 additions and 5 deletions

View File

@ -21,14 +21,14 @@ public class DataUtils {
public static void init(Application application) {
//TalkingData
//dubug true release false
TCAgent.LOG_ON = true;
TCAgent.LOG_ON = false;
TCAgent.init(application);
TCAgent.setReportUncaughtExceptions(true);
//MTA
// 打开debug开关可查看mta上报日志或错误
// dubug true release false
StatConfig.setDebugEnable(true);
StatConfig.setDebugEnable(false);
// 收集未处理的异常
StatConfig.setAutoExceptionCaught(true);
// 设置数据上报策略