Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在现有应用程序上为 Answers(Fabric) 添加新事件我确实设法在代码部分中添加,但它没有反映 Fabric 仪表板。
如果你想抛出一个致命的异常然后使用它。
public static void throwFatalException(Throwable throwable) { if (Fabric.isInitialized()) { Crashlytics.logException(throwable); } }
调用方法
throwFatalException(new Throwable(" My Message " + e));
注意:FatalException不会立即出现在仪表板中。这需要一些时间。
FatalException