Android实现将应用崩溃信息发送给开发者并重启应用的方法

2019-12-10 18:53:16刘景俊

用到的string.xml资源为:

 

复制代码 <string name="errorHint">A error has happened %1$s.Please click <i><b>"REPORT"</b></i> to send the error information to us by email, Thanks!!!</string>

 

重要的一点是要在AndroidManifest.xml中对<application>节点设置android:name=".SoftApplication"



注:相关教程知识阅读请移步到Android开发频道。