Closed mrousavy closed 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.
@mrousavy Could you provide the repro?
: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. |
I have this issue too after upgrading from react-native 0.61.2 to 0.63.2 Cant fix it (
@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
)
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
@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.
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.
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 myAndroidManifest.xml
, etc ...), the App starts with a Whitescreen and immediately crashes afterwards. I've managed to find some Exceptions in the Logcat: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:
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.log
s, 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:
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
./gradlew clean
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?