经过大量调试后,我设法提取了以下错误日志:
W/PluginManager: THREAD WARNING: exec() call to UniversalAnalytics.startTrackerWithId blocked the main thread for 34ms. Plugin should use CordovaInterface.getThreadPool().
2018-09-09 22:13:56.522 22133-22233/com.myhurryapp.mbc W/CordovaPlugin: Attempted to send a second callback for ID: UniversalAnalytics******
Result was: "Invalid action"
2018-09-09 22:13:56.595 22133-22233/com.myhurryapp.mbc W/PluginManager: THREAD WARNING: exec() call to OneSignalPush.init blocked the main thread for 64ms. Plugin should use CordovaInterface.getThreadPool().
2018-09-09 22:13:59.354 22133-22200/com.myhurryapp.mbc W/libEGL: EGLNativeWindowType 0x71c7a38010 disconnect failed
2018-09-09 22:14:02.350 22133-22200/com.myhurryapp.mbc W/libEGL: EGLNativeWindowType 0x71c7a37010 disconnect failed
现在,我的担心以及我认为导致应用程序崩溃的原因如下:
THREAD WARNING: exec() call to UniversalAnalytics.startTrackerWithId blocked the main thread for 34ms. Plugin should use CordovaInterface.getThreadPool().
和
THREAD WARNING: exec() call to OneSignalPush.init blocked the main thread for 64ms. Plugin should use CordovaInterface.getThreadPool().
我想知道是什么原因导致该应用程序死机和无响应,并且可能会解决此问题?
谢谢