| | |
| | | import com.doumee.keyCabinet.ui.main.MainActivity; |
| | | import com.doumee.keyCabinet.utils.update.FileUtil; |
| | | import com.doumee.lib_coremodel.util.SpUtil; |
| | | import com.mc.enjoysdk.McSystemUi; |
| | | import com.proembed.service.MyService; |
| | | |
| | | import java.io.BufferedWriter; |
| | | import java.io.ByteArrayOutputStream; |
| | |
| | | System.out.println("错误日志2"+e.getMessage()); |
| | | //LogUtils.e(TAG, "dump crash info failed"); |
| | | } |
| | | |
| | | //导出异常信息到SD卡中 |
| | | McSystemUi mcSystemUi = McSystemUi.getInstance(mContext); |
| | | MCUtils.show(mcSystemUi); |
| | | MyService myService = new MyService(mContext); |
| | | MCUtils.show(myService); |
| | | long time = SpUtil.getLong("err_app"); |
| | | SpUtil.saveLong("err_app",System.currentTimeMillis()); |
| | | if(System.currentTimeMillis()-time>60000){ |