You need to post your code... but without seeing your code, if you are using Thread.setDefaultUncaughtExceptionHandler()
, Crashlytics.logException(e)
or setDefaultUncaughtExceptionHandler()
, etc. try removing setDefaultUncaughtExceptionHandler()
. The recent updates have made some compatibility issues.. or if you don't have anything... trying playing around with this, it should update correctly.
@Override
public void uncaughtException(Thread thread, Throwable e) {
e.printStackTrace();
Crashlytics.logException(e);
Utils.closeApplicationAndRestart(context, 5000, MainActivity.class);
}
Another option is to handle it as custom exception ... and ensure you update the data correctly.
The logs are recorded based on the events but their counts depends upon the number of events and number of occurrence.
counts = number of events * number of occurrence
It looks like the same events occurred again and again on the same device that causes the count of events is increased, but still the events are same.
In your case may be that two events occurred for three time that leads to the count as six.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.