框架集成地址Android,可以不再拷代碼了嗎?
參數(shù)說(shuō)明1 : ApplicationContext(方法需要在Application onCreate中調(diào)用)
參數(shù)說(shuō)明2 : boolean (是否開(kāi)啟云端崩潰監(jiān)控)
參數(shù)說(shuō)明3 : Test+申請(qǐng)的key(申請(qǐng)地址 http://crasheye.testplus.cn/),還是蠻不錯(cuò)的平臺(tái)
參數(shù)說(shuō)明4 : 用戶(hù)唯一標(biāo)識(shí)(可傳可不傳,建議傳...因?yàn)榭蛻?hù)手機(jī)報(bào)錯(cuò)后可以快速定位到錯(cuò)誤源)
LogUtil.getIns(ApplicationContext).get_other_log(boolean,String,String)
給個(gè)例子吧:
平臺(tái)例子: