quickstart-android icon indicating copy to clipboard operation
quickstart-android copied to clipboard

(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main

Open ArcherEmiya05 opened this issue 5 years ago • 6 comments

Step 1: Describe your environment

  • Android device: Xperia XA1
  • Android OS version: 8.0.0
  • Google Play Services version: 4.3.0
  • Firebase/Play Services SDK version: 18.0.0

Step 2: Describe the problem:

Steps to reproduce:

(Offline only) App crash whenever the device is not connected to internet.

Observed Results:

E/AndroidRuntime: FATAL EXCEPTION: main

Relevant Code:

Calling fetch() or fetchAndActivate() inside onResume()

ArcherEmiya05 avatar Jul 02 '19 05:07 ArcherEmiya05

The app close immediately without giving any details in stacktrace

ArcherEmiya05 avatar Jul 02 '19 06:07 ArcherEmiya05

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

samtstern avatar Jul 03 '19 16:07 samtstern

Same thing for me and there's no stacktrace :(

adrianolc avatar Jul 05 '19 05:07 adrianolc

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

Thats all the what it says in logcat on 3 devices that I've tested.

E/AndroidRuntime: FATAL EXCEPTION: main Process: package.name, PID: XXXX

Also I tried it on different device LG K10 K430dsy and Cherry Mobile J5s. All crash when device is not connected to a network. So my work around as of now is to check whether the app is connected to any network before calling fetch() or fetchAndActivate()

ArcherEmiya05 avatar Jul 06 '19 01:07 ArcherEmiya05

Any updates on this issue? Did you find a solution?

ben-mathu avatar Jan 19 '21 10:01 ben-mathu

happens on my app as well, no stacktrace

rugovit avatar Jun 15 '21 12:06 rugovit