应用在启动时因setTimeOut错误而崩溃
我已经使用create-react-native-web命令创建了项目,并使用https://react-native-community.github.io/upgrade-helper/?from=0.55.3&to=0.59.10将0.55.x升级为Android 64位支持的0.59.10
在启动应用崩溃时,我们面临以下错误-
详细信息错误-
com.facebook.jni.CppException: Can't find variable: setTimeout
index.android.bundle:206:7357
h@index.android.bundle:2:1670
index.android.bundle:205:53
h@index.android.bundle:2:1670
index.android.bundle:204:92
h@index.android.bundle:2:1670
index.android.bundle:13:2046
h@index.android.bundle:2:1670
index.android.bundle:11:46
h@index.android.bundle:2:1670
d@index.android.bundle:2:868
global code@index.android.bundle:304:4
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:148)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:2