facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.32k stars 24.36k forks source link

Android bundle not loading from metro-bundler server #29618

Closed mrousavy closed 4 years ago

mrousavy commented 4 years ago

Description

On Android I was suddenly unable to get the metro bundler server to work. I've been debugging this for the past 5 hours, and I couldn't find any cause for this issue. So my App won't start at all now.

Whenever I try to run the Android app (I've tried with all kinds of different settings, enabling/disabling Hermes, ABI splits, explicitly forcing an SoLoader version, stripping all kinds of code to get a minimal app, cleaning gradle cache, adding android:usesCleartextTraffic="true" to my AndroidManifest.xml, etc ...), the App starts with a Whitescreen and immediately crashes afterwards. I've managed to find some Exceptions in the Logcat:

2020-08-11 11:33:52.315 5176-5256/com.mrousavy.springsale E/GraphResponse: {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '290453355515078' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api}
2020-08-11 11:33:52.316 5176-5256/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.316 5176-5264/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.316 5176-5256/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.316 5176-5256/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
2020-08-11 11:33:52.346 5176-5279/com.mrousavy.springsale E/ReactNativeJNI: logMarker CREATE_REACT_CONTEXT_END
2020-08-11 11:33:52.347 5176-5274/com.mrousavy.springsale E/unknown:ReactNative: ReactInstanceManager.createReactContext: mJSIModulePackage null
2020-08-11 11:33:52.350 5176-5274/com.mrousavy.springsale E/unknown:DisabledDevSupportManager: Caught exception
    java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
        at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
        at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:234)
        at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29)
        at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:258)
        at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1293)
        at com.facebook.react.ReactInstanceManager.access$1100(ReactInstanceManager.java:131)
        at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1016)
        at java.lang.Thread.run(Thread.java:919)

    --------- beginning of crash
2020-08-11 11:33:52.352 5176-5274/com.mrousavy.springsale E/AndroidRuntime: FATAL EXCEPTION: create_react_context
    Process: com.mrousavy.springsale, PID: 5176
    java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
        at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
        at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:234)
        at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29)
        at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:258)
        at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1293)
        at com.facebook.react.ReactInstanceManager.access$1100(ReactInstanceManager.java:131)
        at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1016)
        at java.lang.Thread.run(Thread.java:919)
2020-08-11 11:33:52.498 13316-13413/? E/ActivityThread: Failed to find provider info for com.google.android.apps.wellbeing.api
2020-08-11 11:33:52.725 5176-5237/com.mrousavy.springsale D/libcrashlytics: Initializing libcrashlytics version 2.0.5
2020-08-11 11:33:52.725 5176-5237/com.mrousavy.springsale D/libcrashlytics: Initializing native crash handling successful.
2020-08-11 11:33:52.726 5176-5237/com.mrousavy.springsale I/FirebaseCrashlytics: Crashlytics NDK initialization successful
2020-08-11 11:33:52.743 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
2020-08-11 11:33:52.743 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
2020-08-11 11:33:52.743 5176-5263/com.mrousavy.springsale W/FirebaseRemoteConfig: No value of type 'FirebaseRemoteConfigValue' exists for parameter key 'fpr_session_max_duration_min'.
2020-08-11 11:33:52.744 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
2020-08-11 11:33:52.744 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.744 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
2020-08-11 11:33:52.744 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
2020-08-11 11:33:52.745 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.745 5176-5263/com.mrousavy.springsale I/chatty: uid=10146(com.mrousavy.springsale) pool-25-thread- identical 1 line
2020-08-11 11:33:52.746 5176-5263/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.750 5176-5264/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2020-08-11 11:33:52.823 2030-5291/? W/ActivityTaskManager:   Force finishing activity com.mrousavy.springsale/.MainActivity
2020-08-11 11:33:52.824 2030-5288/? I/DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
2020-08-11 11:33:52.836 5176-5274/com.mrousavy.springsale I/Process: Sending signal. PID: 5176 SIG: 9
2020-08-11 11:33:52.837 2030-2057/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2020-08-11 11:33:52.838 2030-2057/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2020-08-11 11:33:52.930 2030-2130/? W/InputDispatcher: channel '4b40fe1 com.mrousavy.springsale/com.mrousavy.springsale.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
2020-08-11 11:33:52.930 2030-2130/? E/InputDispatcher: channel '4b40fe1 com.mrousavy.springsale/com.mrousavy.springsale.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-08-11 11:33:52.936 2030-3089/? I/WindowManager: WIN DEATH: Window{4b40fe1 u0 com.mrousavy.springsale/com.mrousavy.springsale.MainActivity}
2020-08-11 11:33:52.936 2030-3089/? W/InputDispatcher: Attempted to unregister already unregistered input channel '4b40fe1 com.mrousavy.springsale/com.mrousavy.springsale.MainActivity (server)'
2020-08-11 11:33:52.938 2030-2376/? I/ActivityManager: Process com.mrousavy.springsale (pid 5176) has died: vis+99 TOP 
Some logs which appeared earlier ### Some Permissions logs ``` 2020-08-11 11:33:47.262 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_DOCUMENTS from package com.google.android.youtube (protectionLevel=262146 flags=0x30dbbe45) 2020-08-11 11:33:47.264 2030-2069/? I/PackageManager: Un-granting permission com.google.android.googleapps.permission.GOOGLE_AUTH from package com.android.providers.calendar (protectionLevel=2 flags=0x30883e45) 2020-08-11 11:33:47.264 2030-2069/? I/PackageManager: Un-granting permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl from package com.android.providers.calendar (protectionLevel=2 flags=0x30883e45) 2020-08-11 11:33:47.264 2030-2069/? I/PackageManager: Un-granting permission android.permission.WRITE_SECURE_SETTINGS from package com.google.android.apps.enterprise.dmagent (protectionLevel=50 flags=0x30083e05) 2020-08-11 11:33:47.264 2030-2069/? I/PackageManager: Un-granting permission android.permission.CONNECTIVITY_INTERNAL from package com.google.android.apps.enterprise.dmagent (protectionLevel=18 flags=0x30083e05) 2020-08-11 11:33:47.265 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_USB from package com.google.android.apps.enterprise.dmagent (protectionLevel=18 flags=0x30083e05) 2020-08-11 11:33:47.266 2030-2069/? I/PackageManager: Un-granting permission android.permission.CHANGE_COMPONENT_ENABLED_STATE from package com.google.android.apps.enterprise.dmagent (protectionLevel=18 flags=0x30083e05) 2020-08-11 11:33:47.266 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_CA_CERTIFICATES from package com.google.android.apps.enterprise.dmagent (protectionLevel=18 flags=0x30083e05) 2020-08-11 11:33:47.267 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_USERS from package com.google.android.apps.enterprise.dmagent (protectionLevel=18 flags=0x30083e05) 2020-08-11 11:33:47.268 2030-2069/? I/PackageManager: Un-granting permission com.google.android.setupwizard.READ_DEVICE_ORIGIN from package com.google.android.apps.messaging (protectionLevel=18 flags=0x38cbbe45) 2020-08-11 11:33:47.269 2030-2069/? I/PackageManager: Un-granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS from package com.android.vending (protectionLevel=2 flags=0x38cabec5) 2020-08-11 11:33:47.270 2030-2069/? I/PackageManager: Un-granting permission android.permission.BIND_WALLPAPER from package com.android.camera2 (protectionLevel=18 flags=0x20d8bc45) 2020-08-11 11:33:47.271 2030-2069/? I/PackageManager: Un-granting permission android.permission.REQUEST_INSTALL_PACKAGES from package com.google.android.gm (protectionLevel=66 flags=0x38cbbe45) 2020-08-11 11:33:47.272 2030-2069/? I/PackageManager: Un-granting permission android.permission.BIND_JOB_SERVICE from package com.google.android.music (protectionLevel=2 flags=0x38cbbe65) 2020-08-11 11:33:47.273 2030-2069/? I/PackageManager: Un-granting permission android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS from package com.google.android.captiveportallogin (protectionLevel=18 flags=0x38c8be45) 2020-08-11 11:33:47.273 2030-2069/? I/PackageManager: Un-granting permission android.permission.NETWORK_BYPASS_PRIVATE_DNS from package com.google.android.captiveportallogin (protectionLevel=2 flags=0x38c8be45) 2020-08-11 11:33:47.273 2030-2069/? I/PackageManager: Un-granting permission android.permission.REQUEST_INSTALL_PACKAGES from package com.google.android.apps.docs (protectionLevel=66 flags=0x38cbbe45) 2020-08-11 11:33:47.274 2030-2069/? I/PackageManager: Un-granting permission android.permission.INTERACT_ACROSS_USERS from package com.google.android.syncadapters.contacts (protectionLevel=50 flags=0x20883e45) 2020-08-11 11:33:47.275 2030-2069/? I/PackageManager: Un-granting permission android.permission.REQUEST_INSTALL_PACKAGES from package com.android.chrome (protectionLevel=66 flags=0xa0cbbe45) 2020-08-11 11:33:47.276 2030-2069/? I/PackageManager: Un-granting permission android.permission.CAPTURE_VIDEO_OUTPUT from package com.google.android.gms (protectionLevel=2 flags=0xa0cabec5) 2020-08-11 11:33:47.277 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_DEVICE_ADMINS from package com.google.android.gms (protectionLevel=2 flags=0xa0cabec5) 2020-08-11 11:33:47.277 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_ACTIVITY_STACKS from package com.google.android.gms (protectionLevel=2 flags=0xa0cabec5) 2020-08-11 11:33:47.277 2030-2069/? I/PackageManager: Un-granting permission android.permission.CAPTURE_SECURE_VIDEO_OUTPUT from package com.google.android.gms (protectionLevel=2 flags=0xa0cabec5) 2020-08-11 11:33:47.277 2030-2069/? I/PackageManager: Un-granting permission android.permission.MANAGE_ROLLBACKS from package com.google.android.gms (protectionLevel=514 flags=0xa0cabec5) 2020-08-11 11:33:47.279 2030-2069/? I/PackageManager: Un-granting permission com.google.android.googleapps.permission.GOOGLE_AUTH from package com.google.android.videos (protectionLevel=2 flags=0x30dbbe45) 2020-08-11 11:33:47.280 2030-2069/? I/PackageManager: Un-granting permission android.permission.WRITE_MEDIA_STORAGE from package com.google.android.apps.photos (protectionLevel=18 flags=0x38d9be45) 2020-08-11 11:33:47.284 2030-2069/? I/PackageManager: Un-granting permission android.permission.SYSTEM_ALERT_WINDOW from package com.mrousavy.springsale (protectionLevel=1250 flags=0x38483f46) ``` ### Unable to instantiate appComponentFactory Error StackTrace ``` 2020-08-11 11:33:48.034 2030-2030/? E/LoadedApk: Unable to instantiate appComponentFactory java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[],nativeLibraryDirectories=[/data/app/com.example-d3SvssRQjtOqTy2yp3YCsA==/lib/x86, /data/app/com.example-d3SvssRQjtOqTy2yp3YCsA==/base.apk!/lib/x86, /system/lib, /system/product/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at android.app.LoadedApk.createAppFactory(LoadedApk.java:256) at android.app.LoadedApk.updateApplicationInfo(LoadedApk.java:370) at android.app.ActivityThread.handleDispatchPackageBroadcast(ActivityThread.java:5951) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1941) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at com.android.server.SystemServer.run(SystemServer.java:541) at com.android.server.SystemServer.main(SystemServer.java:349) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908) ``` ### React Create Context ``` 2020-08-11 11:33:52.315 5176-5256/com.mrousavy.springsale E/GraphResponse: {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '290453355515078' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api} 2020-08-11 11:33:52.316 5176-5256/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) 2020-08-11 11:33:52.316 5176-5264/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) 2020-08-11 11:33:52.316 5176-5256/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) 2020-08-11 11:33:52.316 5176-5256/com.mrousavy.springsale W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) 2020-08-11 11:33:52.346 5176-5279/com.mrousavy.springsale E/ReactNativeJNI: logMarker CREATE_REACT_CONTEXT_END 2020-08-11 11:33:52.347 5176-5274/com.mrousavy.springsale E/unknown:ReactNative: ReactInstanceManager.createReactContext: mJSIModulePackage null 2020-08-11 11:33:52.350 5176-5274/com.mrousavy.springsale E/unknown:DisabledDevSupportManager: Caught exception java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release. at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method) at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:234) at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29) at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:258) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1293) at com.facebook.react.ReactInstanceManager.access$1100(ReactInstanceManager.java:131) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1016) at java.lang.Thread.run(Thread.java:919) --------- beginning of crash 2020-08-11 11:33:52.352 5176-5274/com.mrousavy.springsale E/AndroidRuntime: FATAL EXCEPTION: create_react_context Process: com.mrousavy.springsale, PID: 5176 java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release. at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method) at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:234) at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:29) at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:258) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1293) at com.facebook.react.ReactInstanceManager.access$1100(ReactInstanceManager.java:131) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1016) at java.lang.Thread.run(Thread.java:919) 2020-08-11 11:33:52.498 13316-13413/? E/ActivityThread: Failed to find provider info for com.google.android.apps.wellbeing.api ``` ### A lot of reflection Warnings ``` 2020-08-11 11:27:39.968 4939-5019/? E/GraphResponse: {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '290453355515078' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api} 2020-08-11 11:27:39.968 4939-5019/? W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) 2020-08-11 11:27:39.968 4939-5027/? W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) 2020-08-11 11:27:39.971 4939-5019/? W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) 2020-08-11 11:27:39.971 4939-5019/? W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) 2020-08-11 11:27:39.972 4939-5019/? W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed) 2020-08-11 11:27:39.972 4939-5019/? W/savy.springsal: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) 2020-08-11 11:27:40.101 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupViewManager 2020-08-11 11:27:40.104 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupShadowNode 2020-08-11 11:27:40.106 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeViewManager 2020-08-11 11:27:40.107 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeShadowNode 2020-08-11 11:27:40.108 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextViewManager 2020-08-11 11:27:40.109 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextShadowNode 2020-08-11 11:27:40.109 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.checkbox.ReactCheckBoxManager 2020-08-11 11:27:40.116 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode 2020-08-11 11:27:40.125 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDialogPickerManager 2020-08-11 11:27:40.132 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager 2020-08-11 11:27:40.137 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDropdownPickerManager 2020-08-11 11:27:40.143 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager 2020-08-11 11:27:40.150 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager 2020-08-11 11:27:40.154 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager 2020-08-11 11:27:40.159 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode 2020-08-11 11:27:40.164 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager 2020-08-11 11:27:40.170 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager 2020-08-11 11:27:40.175 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode 2020-08-11 11:27:40.177 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager 2020-08-11 11:27:40.180 4939-4939/? E/unknown:ReactNative: Unable to launch logbox because react was unable to create the root view 2020-08-11 11:27:40.183 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode 2020-08-11 11:27:40.186 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager 2020-08-11 11:27:40.192 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewManager 2020-08-11 11:27:40.194 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewShadowNode 2020-08-11 11:27:40.197 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager 2020-08-11 11:27:40.200 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode 2020-08-11 11:27:40.205 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager 2020-08-11 11:27:40.214 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager 2020-08-11 11:27:40.220 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode 2020-08-11 11:27:40.230 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager 2020-08-11 11:27:40.234 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode 2020-08-11 11:27:40.235 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager 2020-08-11 11:27:40.241 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode 2020-08-11 11:27:40.245 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager 2020-08-11 11:27:40.248 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode 2020-08-11 11:27:40.248 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager 2020-08-11 11:27:40.252 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.viewpager.ReactViewPagerManager 2020-08-11 11:27:40.254 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager 2020-08-11 11:27:40.255 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode 2020-08-11 11:27:40.255 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTGroupViewManager 2020-08-11 11:27:40.255 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTGroupShadowNode 2020-08-11 11:27:40.256 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTShapeViewManager 2020-08-11 11:27:40.256 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTShapeShadowNode 2020-08-11 11:27:40.257 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTTextViewManager 2020-08-11 11:27:40.258 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTTextShadowNode 2020-08-11 11:27:40.258 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTSurfaceViewManager 2020-08-11 11:27:40.260 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.art.ARTSurfaceViewShadowNode 2020-08-11 11:27:40.261 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.cmcewen.blurview.BlurViewManager 2020-08-11 11:27:40.263 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class co.apptailor.googlesignin.RNGoogleSigninButtonViewManager 2020-08-11 11:27:40.264 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class org.reactnative.maskedview.RNCMaskedViewManager 2020-08-11 11:27:40.264 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.slider.ReactSliderManager 2020-08-11 11:27:40.266 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.reactnativecommunity.slider.ReactSliderManager$ReactSliderShadowNode 2020-08-11 11:27:40.267 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.ammarahmed.rnadmob.nativeads.RNAdMobNativeViewManager 2020-08-11 11:27:40.269 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.ammarahmed.rnadmob.nativeads.RNAdMobMediaViewManager 2020-08-11 11:27:40.270 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.ammarahmed.rnadmob.nativeads.RNAdComponentsWrapperManager 2020-08-11 11:27:40.272 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.ammarahmed.rnadmob.nativeads.RNAdmobAdChoicesManager 2020-08-11 11:27:40.272 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.mrousavy.blurhash.BlurhashViewManager 2020-08-11 11:27:40.274 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.dylanvann.fastimage.FastImageViewManager 2020-08-11 11:27:40.275 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBLoginButtonManager 2020-08-11 11:27:40.276 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBSendButtonManager 2020-08-11 11:27:40.278 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.reactnative.androidsdk.FBShareButtonManager 2020-08-11 11:27:40.279 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerRootViewManager 2020-08-11 11:27:40.280 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager 2020-08-11 11:27:40.281 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.BV.LinearGradient.LinearGradientManager 2020-08-11 11:27:40.282 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapCalloutManager 2020-08-11 11:27:40.282 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapMarkerManager 2020-08-11 11:27:40.283 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapPolylineManager 2020-08-11 11:27:40.284 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapGradientPolylineManager 2020-08-11 11:27:40.284 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapPolygonManager 2020-08-11 11:27:40.286 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapCircleManager 2020-08-11 11:27:40.288 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapManager 2020-08-11 11:27:40.290 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapLiteManager 2020-08-11 11:27:40.291 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapUrlTileManager 2020-08-11 11:27:40.291 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapWMSTileManager 2020-08-11 11:27:40.292 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapLocalTileManager 2020-08-11 11:27:40.292 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapOverlayManager 2020-08-11 11:27:40.293 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapHeatmapManager 2020-08-11 11:27:40.295 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaProviderManager 2020-08-11 11:27:40.295 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewManager 2020-08-11 11:27:40.295 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.th3rdwave.safeareacontext.SafeAreaViewShadowNode 2020-08-11 11:27:40.297 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.rnscreens.ScreenContainerViewManager 2020-08-11 11:27:40.298 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.rnscreens.ScreenViewManager 2020-08-11 11:27:40.299 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.rnscreens.ScreenStackViewManager 2020-08-11 11:27:40.299 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderConfigViewManager 2020-08-11 11:27:40.300 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.swmansion.rnscreens.ScreenStackHeaderSubviewManager 2020-08-11 11:27:40.301 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.ijzerenhein.sharedelement.RNSharedElementTransitionManager 2020-08-11 11:27:40.302 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$GroupViewManager 2020-08-11 11:27:40.303 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$RenderableShadowNode 2020-08-11 11:27:40.304 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$PathViewManager 2020-08-11 11:27:40.305 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$CircleViewManager 2020-08-11 11:27:40.305 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$EllipseViewManager 2020-08-11 11:27:40.306 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$LineViewManager 2020-08-11 11:27:40.306 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$RectViewManager 2020-08-11 11:27:40.307 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$TextViewManager 2020-08-11 11:27:40.307 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$TSpanViewManager 2020-08-11 11:27:40.308 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$TextPathViewManager 2020-08-11 11:27:40.308 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$ImageViewManager 2020-08-11 11:27:40.309 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$ClipPathViewManager 2020-08-11 11:27:40.309 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$DefsViewManager 2020-08-11 11:27:40.309 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$UseViewManager 2020-08-11 11:27:40.309 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$SymbolManager 2020-08-11 11:27:40.310 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$LinearGradientManager 2020-08-11 11:27:40.310 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$RadialGradientManager 2020-08-11 11:27:40.311 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$PatternManager 2020-08-11 11:27:40.312 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$MaskManager 2020-08-11 11:27:40.314 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$ForeignObjectManager 2020-08-11 11:27:40.315 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.RenderableViewManager$MarkerManager 2020-08-11 11:27:40.317 4939-5044/? W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.horcrux.svg.SvgViewManager ``` ### A WiFi error ``` 2020-08-11 11:28:08.508 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8 2020-08-11 11:28:08.508 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8 2020-08-11 11:28:08.561 1952-1952/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument 2020-08-11 11:28:09.508 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8 2020-08-11 11:28:09.508 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8 2020-08-11 11:28:09.781 1954-1954/? E/wifi_forwarder: RemoteConnection failed to initialize: RemoteConnection failed to open pipe 2020-08-11 11:28:10.510 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8 2020-08-11 11:28:10.510 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8 2020-08-11 11:28:11.511 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8 2020-08-11 11:28:11.511 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8 2020-08-11 11:28:12.513 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8 2020-08-11 11:28:12.513 1794-2257/? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8 ``` > I'm getting a lot of those `GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8` prints ### An error StackTrace ``` 2020-08-11 11:29:59.383 21886-21919/? E/ModuleIdSetter: exception when setting module id java.lang.IllegalStateException: Unable to get current module info in ModuleManager created with non-module Context at com.google.android.chimera.config.ModuleManager.getCurrentModule(:com.google.android.gms@202414040@20.24.14 (120700-319035315):2) at aeua.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):4) at aeud.b(:com.google.android.gms@202414040@20.24.14 (120700-319035315):9) at aeql.a(Unknown Source:0) at rnb.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):0) at rjk.c(:com.google.android.gms@202414040@20.24.14 (120700-319035315):1) at rji.b(:com.google.android.gms@202414040@20.24.14 (120700-319035315):1) at rlz.b(:com.google.android.gms@202414040@20.24.14 (120700-319035315):6) at rlz.c(:com.google.android.gms@202414040@20.24.14 (120700-319035315):6) at rlz.b(:com.google.android.gms@202414040@20.24.14 (120700-319035315):10) at rlz.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):17) at rlz.g(:com.google.android.gms@202414040@20.24.14 (120700-319035315):3) at sbg.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):2) at sag.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):10) at rzx.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):0) at saa.handleMessage(:com.google.android.gms@202414040@20.24.14 (120700-319035315):28) at android.os.Handler.dispatchMessage(Handler.java:107) at aeiw.a(:com.google.android.gms@202414040@20.24.14 (120700-319035315):2) at aeiw.dispatchMessage(:com.google.android.gms@202414040@20.24.14 (120700-319035315):14) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67) ``` ### Another Error StackTrace ``` 2020-08-11 11:33:00.620 19376-19469/? E/Finsky: [3558] glz.a(2): [Counters Flush] Error when getting counter events to log java.lang.NullPointerException: Attempt to read from field 'int aypb.eM' on a null object reference at glk.call(Unknown Source:226) at atnq.b(Unknown Source:2) at atmr.run(PG:3) at atnr.run(Unknown Source:4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at kjc.run(PG:4) at java.lang.Thread.run(Thread.java:919) 2020-08-11 11:33:00.622 19376-19471/? E/Finsky: [3560] glo.a(7): [Counters Flush] Failure when flushing counters java.lang.NullPointerException: Attempt to read from field 'int aypb.eM' on a null object reference at glk.call(Unknown Source:226) at atnq.b(Unknown Source:2) at atmr.run(PG:3) at atnr.run(Unknown Source:4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at kjc.run(PG:4) at java.lang.Thread.run(Thread.java:919) ```

When I ran the following command:

npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

I could start the App through Android Studio, but of course this is not a solution, as I have to run this command every time I change something (even in JS), so I don't have live-reload anymore, I don't have console.logs, and I have a terrible development experience.

So in short: Somehow my app can't stream the bundle over the metro bundler server on localhost anymore, but it works when I manually create the bundle. It doesn't even start the Metro Bundler! On iOS it works.

Can someone maybe also quickly explain to me what the static bundle is?

React Native version:

info Fetching system and libraries information...
System:
    OS: macOS 10.15.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 779.32 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.5.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 25, 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.0, 30.0.0, 30.0.1
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: 21.2.6472646
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6626763
    Xcode: 11.6/11E708 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_262 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.63.2 => 0.63.2 
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Create 0.63.2 Android Project
  2. ./gradlew clean
  3. Try running it

Expected Results

The App should start and fetch the JS bundle from my metro bundler server

Snack, code example, screenshot, or link to a repository:

Should I just create a git repo with my project?

mrousavy commented 4 years ago

When I try starting the Android App through commandline instead of Android studio (so running npx react-native run-android), the same thing happens, but it at least starts the Metro bundler server. The Android app just tries to start but immediately crashes when it tries to load the JS bundle/creating the React context, I don't even get any connection attempts/logs in the metro bundler output.

Screenshot 2020-08-11 at 11 57 09

Logs From the `npx react-native run-android` command: ``` info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 1532 file(s) to forward-jetify. Using 16 workers... info Starting JS server... * daemon not running; starting now at tcp:5037 * daemon started successfully info Launching emulator... info Successfully launched emulator. info Installing the app... Starting a Gradle Daemon, 4 stopped Daemons could not be reused, use --status for details > Configure project :app Crashlytics could not find NDK build tasks on which to depend. You many need to manually enforce task dependencies for generateCrashlyticsSymbolFileRelease > Configure project :react-native-firebase_analytics :react-native-firebase_analytics package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/analytics/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_analytics:firebase.bom using default value: 25.5.0 :react-native-firebase_analytics package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/analytics/package.json :react-native-firebase_analytics:version set from package.json: 7.4.1 (7,4,1 - 7004001) :react-native-firebase_analytics:android.compileSdk using custom value: 29 :react-native-firebase_analytics:android.targetSdk using custom value: 29 :react-native-firebase_analytics:android.minSdk using custom value: 16 :react-native-firebase_analytics:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_app :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_app:firebase.bom using default value: 25.5.0 :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_app:version set from package.json: 8.3.0 (8,3,0 - 8003000) :react-native-firebase_app:android.compileSdk using custom value: 29 :react-native-firebase_app:android.targetSdk using custom value: 29 :react-native-firebase_app:android.minSdk using custom value: 16 :react-native-firebase_app:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_auth :react-native-firebase_auth package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/auth/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_auth:firebase.bom using default value: 25.5.0 :react-native-firebase_auth package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/auth/package.json :react-native-firebase_auth:version set from package.json: 8.3.1 (8,3,1 - 8003001) :react-native-firebase_auth:android.compileSdk using custom value: 29 :react-native-firebase_auth:android.targetSdk using custom value: 29 :react-native-firebase_auth:android.minSdk using custom value: 16 :react-native-firebase_auth:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_crashlytics :react-native-firebase_crashlytics package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/crashlytics/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_crashlytics:firebase.bom using default value: 25.3.0 :react-native-firebase_crashlytics package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/crashlytics/package.json :react-native-firebase_crashlytics:version set from package.json: 8.3.0 (8,3,0 - 8003000) :react-native-firebase_crashlytics:android.compileSdk using custom value: 29 :react-native-firebase_crashlytics:android.targetSdk using custom value: 29 :react-native-firebase_crashlytics:android.minSdk using custom value: 16 :react-native-firebase_crashlytics:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_dynamic-links :react-native-firebase_dynamic-links package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/dynamic-links/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_dynamic-links:firebase.bom using default value: 25.5.0 :react-native-firebase_dynamic-links package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/dynamic-links/package.json :react-native-firebase_dynamic-links:version set from package.json: 7.4.1 (7,4,1 - 7004001) :react-native-firebase_dynamic-links:android.compileSdk using custom value: 29 :react-native-firebase_dynamic-links:android.targetSdk using custom value: 29 :react-native-firebase_dynamic-links:android.minSdk using custom value: 16 :react-native-firebase_dynamic-links:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_firestore :react-native-firebase_firestore package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/firestore/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_firestore:firebase.bom using default value: 25.5.0 :react-native-firebase_firestore package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/firestore/package.json :react-native-firebase_firestore:version set from package.json: 7.5.1 (7,5,1 - 7005001) :react-native-firebase_firestore:android.compileSdk using custom value: 29 :react-native-firebase_firestore:android.targetSdk using custom value: 29 :react-native-firebase_firestore:android.minSdk using custom value: 16 :react-native-firebase_firestore:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_functions :react-native-firebase_functions package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/functions/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_functions:firebase.bom using default value: 25.5.0 :react-native-firebase_functions package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/functions/package.json :react-native-firebase_functions:version set from package.json: 7.3.1 (7,3,1 - 7003001) :react-native-firebase_functions:android.compileSdk using custom value: 29 :react-native-firebase_functions:android.targetSdk using custom value: 29 :react-native-firebase_functions:android.minSdk using custom value: 16 :react-native-firebase_functions:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_messaging :react-native-firebase_messaging package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/messaging/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_messaging:firebase.bom using default value: 25.5.0 :react-native-firebase_messaging package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/messaging/package.json :react-native-firebase_messaging:version set from package.json: 7.6.1 (7,6,1 - 7006001) :react-native-firebase_messaging:android.compileSdk using custom value: 29 :react-native-firebase_messaging:android.targetSdk using custom value: 29 :react-native-firebase_messaging:android.minSdk using custom value: 16 :react-native-firebase_messaging:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_ml-vision :react-native-firebase_ml-vision package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/ml-vision/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_ml-vision:firebase.bom using default value: 25.5.0 :react-native-firebase_ml-vision model disabled: 'ml_vision_face_model' :react-native-firebase_ml-vision package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/ml-vision/package.json :react-native-firebase_ml-vision:version set from package.json: 7.3.1 (7,3,1 - 7003001) :react-native-firebase_ml-vision:android.compileSdk using custom value: 29 :react-native-firebase_ml-vision:android.targetSdk using custom value: 29 :react-native-firebase_ml-vision:android.minSdk using custom value: 16 :react-native-firebase_ml-vision:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_perf :react-native-firebase_perf package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/perf/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_perf:firebase.bom using default value: 25.5.0 :react-native-firebase_perf package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/perf/package.json :react-native-firebase_perf:version set from package.json: 7.3.1 (7,3,1 - 7003001) :react-native-firebase_perf:android.compileSdk using custom value: 29 :react-native-firebase_perf:android.targetSdk using custom value: 29 :react-native-firebase_perf:android.minSdk using custom value: 16 :react-native-firebase_perf:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-firebase_storage :react-native-firebase_storage package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/storage/package.json :react-native-firebase_app package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/app/package.json :react-native-firebase_storage:firebase.bom using default value: 25.5.0 :react-native-firebase_storage package.json found at /Users/mrousavy/Projects/Springsale/app/node_modules/@react-native-firebase/storage/package.json :react-native-firebase_storage:version set from package.json: 7.3.1 (7,3,1 - 7003001) :react-native-firebase_storage:android.compileSdk using custom value: 29 :react-native-firebase_storage:android.targetSdk using custom value: 29 :react-native-firebase_storage:android.minSdk using custom value: 16 :react-native-firebase_storage:reactNativeAndroidDir /Users/mrousavy/Projects/Springsale/app/node_modules/react-native/android > Configure project :react-native-geocoder WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed in version 5.0 of the Android Gradle plugin. For more information, see http://d.android.com/r/tools/update-dependency-configurations.html. WARNING: The specified Android SDK Build Tools version (25.0.2) is ignored, as it is below the minimum supported version (29.0.2) for Android Gradle Plugin 4.0.1. Android SDK Build Tools 29.0.2 will be used. To suppress this warning, remove "buildToolsVersion '25.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. > Task :app:processDebugGoogleServices Parsing json file: /Users/mrousavy/Projects/Springsale/app/android/app/google-services.json > Task :app:processDebugManifest /Users/mrousavy/Projects/Springsale/app/android/app/src/debug/AndroidManifest.xml:24:9-31:50 Warning: activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:24 to replace other declarations but no other declaration present > Task :react-native-community_art:compileDebugJavaWithJavac > Task :react-native-community_async-storage:compileDebugJavaWithJavac > Task :react-native-community_google-signin:compileDebugJavaWithJavac > Task :react-native-community_slider:compileDebugJavaWithJavac > Task :react-native-fast-image:compileDebugJavaWithJavac > Task :react-native-fbsdk:compileDebugJavaWithJavac > Task :react-native-firebase_app:compileDebugJavaWithJavac > Task :react-native-firebase_analytics:compileDebugJavaWithJavac > Task :react-native-firebase_auth:compileDebugJavaWithJavac > Task :react-native-firebase_firestore:compileDebugJavaWithJavac > Task :react-native-geolocation-service:compileDebugJavaWithJavac > Task :react-native-gesture-handler:compileDebugJavaWithJavac > Task :react-native-haptic-feedback:compileDebugJavaWithJavac > Task :react-native-image-crop-picker:compileDebugJavaWithJavac > Task :react-native-maps:compileDebugJavaWithJavac > Task :react-native-reanimated:compileDebugJavaWithJavac > Task :react-native-screens:compileDebugJavaWithJavac > Task :react-native-share:compileDebugJavaWithJavac > Task :react-native-shared-element:compileDebugJavaWithJavac > Task :app:compileDebugJavaWithJavac > Task :app:stripDebugDebugSymbols Unable to strip the following libraries, packaging them as they are: libucrop.so. > Task :app:installDebug Installing APK 'app-debug.apk' on 'Pixel_3a_API_29(AVD) - 10' for app:debug Installed on 1 device. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 2m 3s 660 actionable tasks: 660 executed info Connecting to the development server... 8081 info Starting the app on "emulator-5554"... Starting: Intent { cmp=com.mrousavy.springsale/.MainActivity } ```
safaiyeh commented 4 years ago

@mrousavy Could you provide the repro?

github-actions[bot] commented 4 years ago
:warning: Missing Reproducible Example
:information_source: It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.
alexkbsoft commented 4 years ago

I have this issue too after upgrading from react-native 0.61.2 to 0.63.2 Cant fix it (

mrousavy commented 4 years ago

@safaiyeh My issue seems to have been fixed the same way as https://github.com/facebook/react-native/issues/29604. I think what fixed it was pinning the hermes engine to 0.58 and then cleaning everything and re-checking gradle files for spelling errors (had app name set to Springsale instead of springsale)

kaushikwavhal commented 3 years ago

In my case, when i hit this url in the browser, my metro bundler starts bundling the code, but when the app launches with react-native run-android, i am guessing it doesn't make the call to the bundler to fetch the bundle.

http://localhost:8081/index.bundle?platform=android&dev=true&minify=false

evanjmg commented 3 years ago

@kaushikwavhal did you figure out? With that url, my bundle is bundling and everything else in my app works - release builds, the developer menu on debug builds, just can't get the app to connect to the server.

MauriceArikoglu commented 3 years ago

I have the same issue. I can get the app to start by running this command followed by npx react-native run-android:

npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

I also tried substituting with --dev true, the result stays the same: The App loads the initial screen but cuts off connection to the metro server, which manifests in the depicted way, leaving the state unresponsive (no reload possible):


Edit: I am running nginx via brew, which is set to autostart. It seems nginx claims the port 8081 and binds the IPv4 127.0.0.1 but not the actual hostname localhost.

What happens: on a local machine running metro and (for example) nginx, localhost resolves correctly to metro (as the hostname localhost is bound by metro), but the IPv4 counterpart 127.0.0.1 won't (as its bound/blocked by nginx).

This is fine with the iOS Simulator as it resolves localhost correctly, breaks on the android emulator though.

Why does it break on Android? Because the Android emulator emulates a network interface on its own. The loopback interface to the host machine 10.0.2.2 (as found in the android developer documentation) resolves to the IPv4 127.0.0.1 and not to hostname localhost. This then causes the android app running on the emulator to be unable to connect to metro.

Workaround: stop any service that could be blocking 127.0.0.1

Fix: metro should also bind 127.0.0.1:8081 if possible. If not possible metro should refuse to run.