打开调试开关,删除README.md,打开多渠道打包

This commit is contained in:
huangzhuanghua
2016-06-30 16:59:53 +08:00
parent 20ebd4a67d
commit 1210911a3a
5 changed files with 36 additions and 18 deletions

View File

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