Flutter crash after open apps - android

I usually build my mobile apps using build service from codemagic.com. During this week i didnt change anything of my code except build number.
Today I got my mobile phone crash after new AppBundle Compile with below error stack from firebase console.
Fatal Exception: java.lang.NoSuchMethodError
No static method createAsync(Landroid/os/Looper;)Landroid/os/Handler; in class Landroidx/core/os/HandlerCompat; or its super classes (declaration of 'androidx.core.os.HandlerCompat' appears in /data/app/exampleapps.exampleappsapps-BpzH5e6LIznAEB3YpE_SGw==/base.apk)
This crash occurs this week (last week was okay), this means There's something update on the 3rd party plugin library or from flutter, but I don't know which plugin causes this crash because I didn't change anything of my code.
Below are my pubspec.yaml specifications:
rxdart_codemod: ^0.1.5
angles: ^1.0.1
app_settings: ^1.0.5
archive: ^2.0.8
flutter_cache_manager: ^1.4.0
cached_network_image: ^2.2.0+1
carousel_slider: ^1.3.0
cron: ^0.2.1
crypto: ^2.0.6
cupertino_icons: ^0.1.2
date_format: ^1.0.5
device_id: ^0.1.3
dio: ^3.0.9
easy_alert: ^0.0.2
localstorage: ^2.0.0
audioplayers: ^0.13.1
path_provider: ^1.1.0
esys_flutter_share: ^1.0.2
flutter_compass: ^0.3.2
flutter_html: ^0.9.6
flutter_local_notifications: ^0.8.2
flutter_offline: ^0.2.4+1
flutter_swiper: ^1.1.6
flutter_xlider: ^2.4.5
font_awesome_flutter: ^8.2.0
geolocator: ^5.0.1
google_maps_flutter: ^0.2.0
google_sign_in: ^4.0.1+1
http: ^0.12.1
libcalendar: ^0.2.0
observable: ^0.22.2
location : ^2.3.0
numberpicker: ^1.0.0
pigment: ^1.0.3
# rxdart: ^0.24.1
rxdart: ">=0.18.1 <0.24.1"
shared_preferences: ^0.5.1+1
shimmer: ^1.0.0
unicode: ^0.1.0
url_launcher: ^5.0.2
validate: ^1.6.0
vibrate: ^0.0.4
# quran purpose
after_layout: ^1.0.7+2
draggable_scrollbar: ^0.0.4
flutter_web_browser: ^0.11.0
flutter_youtube: ^1.1.6
google_api_availability: ^2.0.1
indexed_list_view: ^0.0.5
permission_handler: ^3.1.0
queries: ^0.1.4
rect_getter: ^0.0.1
scroll_to_index: any
sqflite: ^1.1.5
tuple: ^1.0.2
xml2json: ^3.0.3
firebase_messaging: ^5.1.6
firebase_analytics: ^3.0.2
firebase_core: ^0.4.0+3
firebase_auth: ^0.11.1+6
firebase_admob: ^0.9.0+1
firebase_in_app_messaging: ^0.0.1+3
#button_style
superellipse_shape: ^0.1.5
#device info
device_info: ^0.4.0+2
#in-app-purchase
in_app_purchase: ^0.2.0+6
#realtime-error-reporting
sentry: any
#system_info
system_info: ^0.1.1
#highlight for tutorial
highlighter_coachmark: ^0.0.3
#detect sound
volume: ^0.1.0
#admob
admob_flutter: ^0.3.2
#other
bubble_tab_indicator: "^0.1.4"
material_design_icons_flutter: ^3.0.3289
scoped_model: ^1.0.1
flutter_slidable: ^0.4.9
kiwi: ^0.1.0
flutter_markdown: ^0.2.0
#download & save file to storage
flutter_downloader: ^1.2.1
native_ads: ^0.2.0
onesignal_flutter: ^2.0.0
##TEMPORARY DISABLED
#flutter_facebook_login: ^3.0.0
USB debug log:
08-17 11:18:42.282 12595 12600 I zygote64: Increasing code cache capacity to 128KB
08-17 11:18:42.283 12595 12595 I CrashlyticsInitProvider: CrashlyticsInitProvider initialization successful
08-17 11:18:42.285 12595 12595 D AndroidRuntime: Shutting down VM
--------- beginning of crash
08-17 11:18:42.285 12595 12595 E AndroidRuntime: FATAL EXCEPTION: main
08-17 11:18:42.285 12595 12595 E AndroidRuntime: Process: exampleapps.exampleappsapps, PID: 12595
08-17 11:18:42.285 12595 12595 E AndroidRuntime:
java.lang.NoSuchMethodError: No static method createAsync(Landroid/os/Looper;)Landroid/os/Handler; in class Landroidx/core/os/HandlerCompat; or its super classes (declaration of 'androidx.core.os.HandlerCompat' appears in /data/app/exampleapps.exampleappsapps-XKGzJQs6twT4qKb4AGKGTQ==/base.apk)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at androidx.work.impl.DefaultRunnableScheduler.**(DefaultRunnableScheduler.java:40)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at androidx.work.Configuration.(Configuration.java:106)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at androidx.work.Configuration$Builder.build(Configuration.java:434)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at androidx.work.impl.WorkManagerInitializer.onCreate(WorkManagerInitializer.java:40)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.content.ContentProvider.attachInfo(ContentProvider.java:1919)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.content.ContentProvider.attachInfo(ContentProvider.java:1894)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6316)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:5882)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5803)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.os.Looper.loop(Looper.java:251)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6572)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
08-17 11:18:42.285 12595 12595 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
08-17 11:18:43.407 703 779 E ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 0
08-17 11:18:43.407 703 779 E ANDR-PERF-OPTSHANDLER: return value 2
08-17 11:18:44.199 2831 4931 I ActivityManager: Killing 10866:com.sonymobile.smartcharger/1000 (adj 906): empty #17
08-17 11:18:44.210 2831 4931 I ActivityManager: Killing 11915:com.discord/u0a315 (adj 906): empty #18
08-17 11:18:44.698 677 677 D audio_hw_primary: out_standby: enter: stream (0xf13d4000) usecase(1: low-latency-playback)
08-17 11:18:44.802 677 677 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
08-17 11:18:44.807 677 677 D hardware_info: hw_info_append_hw_type : device_name = speaker
08-17 11:18:44.808 677 677 D audio_hw_primary: disable_snd_device: snd_device(84: speaker)
08-17 11:18:44.829 677 677 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
08-17 11:18:44.830 677 677 D audio_hw_primary: disable_snd_device: snd_device(242: vi-feedback)
08-17 11:18:44.830 677 677 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(0) new_snd_devices(-238434933)
08-17 11:18:44.830 677 677 D audio_hw_primary: disable_audio_route: reset and update mixer path: spkr-vi-record
08-17 11:18:44.867 677 677 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
08-17 11:18:44.867 677 677 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
08-17 11:18:44.867 677 677 D audio_hw_primary: out_standby: exit
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: Failed to execute task.
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: java.util.concurrent.TimeoutException
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at java.util.concurrent.FutureTask.get(FutureTask.java:206)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at com.crashlytics.android.core.CrashlyticsBackgroundWorker.submitAndWait(CrashlyticsBackgroundWorker.java:41)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at com.crashlytics.android.core.CrashlyticsController.handleUncaughtException(CrashlyticsController.java:321)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at com.crashlytics.android.core.CrashlyticsController$6.onUncaughtException(CrashlyticsController.java:301)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.uncaughtException(CrashlyticsUncaughtExceptionHandler.java:42)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
08-17 11:18:46.288 12595 12595 E CrashlyticsCore: at java.lang.Thread.dispatchUncaughtException(Thread.java:1953)
08-17 11:18:46.301 2831 3677 D ActivityManager: New dropbox entry: exampleapps.exampleappsapps, data_app_crash, 3558ffd2-7966-4d8d-8ba6-2ceca752fb06
08-17 11:18:46.310 2831 3677 W ActivityManager: Force finishing activity exampleapps.exampleappsapps/.MainActivity
08-17 11:18:46.313 2831 3677 D ActivityTrigger: ActivityTrigger activityPauseTrigger
08-17 11:18:46.323 2831 3677 W ActivityManager: Force finishing activity com.android.vending/.AssetBrowserActivity
08-17 11:18:46.335 2831 3677 I ActivityManager: Killing 12013:com.sonymobile.coverapp2/1000 (adj 906): empty #17
08-17 11:18:46.338 12111 12111 I Finsky : [2] rjc.onTrimMemory(1): Memory trim requested to level 20
08-17 11:18:46.339 12111 12111 I Finsky : [2] rjc.onTrimMemory(2): Flushing in-memory image cache
08-17 11:18:46.352 2831 2891 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
08-17 11:18:46.352 2831 2891 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
08-17 11:18:46.353 2831 2891 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.sonyericsson.crashmonitor/.receiver.CrashMonitorServiceBroadcastReceiver
08-17 11:18:46.356 2496 2496 I JavaDumper:main: dest_path: /data/system/log/jd_dropboxfiles/data_app_crash#1597637926341.txt
08-17 11:18:46.356 2496 2496 I JavaDumper:main: tot_read: 1699, tot_write: 1699
08-17 11:18:46.356 2496 2496 I JavaDumper:main: Successfully copied dropbox file to /data/system/log/jd_dropboxfiles/data_app_crash#1597637926341.txt
08-17 11:18:46.357 2496 2496 D clmlib : Got activities:0x00000008
08-17 11:18:46.359 12111 12111 W ProxyAndroidLoggerBackend: Too many Flogger logs received before configuration. Dropping old logs.
08-17 11:18:46.362 12111 12248 W ProxyAndroidLoggerBackend: Too many Flogger logs received before configuration. Dropping old logs.
08-17 11:18:46.363 2496 2496 I JavaDumper:JavaDumperThread: addEvent: data_app_crash#1597637926341.txt processName: exampleapps.exampleappsapps
08-17 11:18:46.363 2496 2540 I JavaDumper:JavaDumperThread: Event: data_app_crash#1597637926341.txt TimeStamp: 1597637926
08-17 11:18:46.419 2496 2540 W JavaDumper:JavaDumper: Could not init dump dir: Unknown error -95
08-17 11:18:46.420 2496 2540 E JavaDumper:FW: utils.c(257): mkdir (/data/crashdata) failed. File exists
08-17 11:18:46.423 2831 2893 I ActivityManager: Showing crash dialog for package exampleapps.exampleappsapps u0
any idea?

Could you try updating your firebase packages dependencies?

Flutter app crashes at startup are mainly caused by the any Package dependency issue
causing error can be debug via following command inside project folder into terminal
adb logcat
in your case 08-17 11:18:42.282 12595 12600 I zygote64: Increasing code cache capacity to 128KB 08-17 11:18:42.283 12595 12595 I CrashlyticsInitProvider: CrashlyticsInitProvider initialization successful 08-17 11:18:42.285 12595 12595 D AndroidRuntime: Shutting down VM
it seems crashlytics error
check if you have applied required dependency in android/app/build.gradle
as shown in picture
apply plugin: 'io.fabric'
adb logcat can provide the detail for exact error causing issue

project build.gradle
Whether androidx.core version is specified
Similar to the following
rootProject.allprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'androidx.core') {
details.useVersion "1.0.1"
}
}
}
}
If so, delete it

I had a similar issue with codemagic this week, but when I built locally and pushed to Google Play Console/App Store Connect the app runs successfully. Maybe an issue coming from codemagic?

Related

How to fix React native app stopped working on android

i added firebase to my react native project and it's stopped running on my emulator. I've had this issue with firebase & react-native some years back, don't know what the fix was.
Running adb logcat displays this
04-24 22:13:32.453 371 394 E system_server: Invalid ID 0x00000000.
04-24 22:13:32.465 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.468 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.471 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.476 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.479 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.480 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.482 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.484 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.485 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.486 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.487 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.488 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.493 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.494 4759 4759 E com.mvmarket: Unknown bits set in runtime_flags: 0x8000
04-24 22:13:32.494 371 398 E memtrack: Couldn't load memtrack module
04-24 22:13:32.748 174 4798 E ResolverController: No valid NAT64 prefix (101, <unspecified>/0)
04-24 22:13:32.755 202 271 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
04-24 22:13:32.755 202 271 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
04-24 22:13:32.818 4759 4807 E AndroidRuntime: FATAL EXCEPTION: create_react_context
04-24 22:13:32.818 4759 4807 E AndroidRuntime: Process: com.mvmarket, PID: 4759
04-24 22:13:32.818 4759 4807 E AndroidRuntime: java.lang.NoSuchMethodError: No static method createEgl14([I)Lorg/webrtc/EglBase14; in class Lorg/webrtc/EglBase; or its super classes (declaration of 'org.webrtc.EglBase' appears in /data/app/com.mvmarket-R-KOl49no3K6lCqfeV5j9A==/base.apk)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.oney.WebRTCModule.EglUtils.getRootEglBase(EglUtils.java:35)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.oney.WebRTCModule.EglUtils.getRootEglBaseContext(EglUtils.java:62)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:107)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:76)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.oney.WebRTCModule.WebRTCModulePackage.createNativeModules(WebRTCModulePackage.java:15)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1476)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1447)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1341)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:138)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1111)
04-24 22:13:32.818 4759 4807 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
04-24 22:13:32.850 371 473 E InputDispatcher: channel '932d8ad com.mvmarket/com.mvmarket.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-24 22:13:32.857 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.857 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.874 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.890 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.906 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.924 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.940 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.956 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.974 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
04-24 22:13:32.990 202 202 E Layer : [Surface(name=AppWindowToken{82ce2ce token=Token{53e3bc9 ActivityRecord{127bfd0 u0 com.mvmarket/.MainActivity t75}}})/#0xafd9b7e - animation-leash#0] No local sync point found
Fixed it
According to the stacktrace, it was an issue with react-native-webrtc
Fixed with this https://stackoverflow.com/a/67592188/11901942
Thanks #Gabe Sechan

Release app crashes instantly when run. Debug version is fine react native android

I can run my app fine on my phone while debugging but by running npx react-native run-android --variant=release
or making a release apk through android studio it crashes as soon as I open it. For what's in the logcat ithink the react-native-background-task might be to blame. Even though I tried to uninstall it. Maybe it wasn't uninstalled correctly.
adb logcat *:E
p(Looper.java:193)
08-20 23:46:52.037 21966 22003 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
08-20 23:46:52.037 21966 22003 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
08-20 23:47:04.089 22076 22133 E AndroidRuntime: Process: com.perkunos.daily_dharma, PID: 22076
08-20 23:47:04.089 22076 22133 E AndroidRuntime: java.lang.IllegalStateException: You need to call create() at least once to create the singleton
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.evernote.android.job.JobManager.instance(JobManager.java:159)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.jamesisaac.rnbackgroundtask.BackgroundTaskModule.initialize(BackgroundTaskModule.java:52)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.facebook.react.bridge.ModuleHolder.doInitialize(ModuleHolder.java:236)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.facebook.react.bridge.ModuleHolder.markInitializable(ModuleHolder.java:100)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.facebook.react.bridge.NativeModuleRegistry.notifyJSInstanceInitialized(NativeModuleRegistry.java:103)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.facebook.react.bridge.CatalystInstanceImpl$4.run(CatalystInstanceImpl.java:542)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
08-20 23:47:04.089 22076 22133 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
08-20 23:47:05.064 1211 1365 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
08-20 23:47:07.842 22161 22194 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
08-20 23:47:07.842 22161 22194 E AndroidRuntime: Process: com.perkunos.daily_dharma, PID: 22161
08-20 23:47:07.842 22161 22194 E AndroidRuntime: java.lang.IllegalStateException: You need to call create() at least once to create the singleton
08-20 23:47:07.842 22161 22194 E AndroidRuntime: at com.evernote.android.job.JobManager.instance(JobManager.java:159)
React Native version:
System:
OS: Linux 4.17 Ubuntu 16.04.6 LTS (Xenial Xerus)
CPU: (4) x64 Intel(R) Core(TM) i5-4210U CPU # 1.70GHz
Memory: 1.68 GB / 7.70 GB
Shell: 4.3.48 - /bin/bash
Binaries:
Node: 12.18.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 1.8.0_201 - /usr/bin/javac
Python: 2.7.16 - /home/daniel/anaconda2/bin/python
npmPackages:
#react-native-community/cli: Not Found
react: ~16.11.0 => 16.11.0
react-native: ~0.62.2 => 0.62.2
npmGlobalPackages:
*react-native*: Not Found
It was the react-native-background-task unnistallation that was causing problems, either I did it wrong or something went bad. Installing it again with all the steps did the trick.

flutter - got stuck at splash screen

I try to run my mobile apps that built using flutter but get stuck at a splash screen. Using adb logcat tools I can see some of error/exception but I have no idea which one of these exception cause the error:
codeinrain04-06 17:51:22.604 7234 7253 I FA : To enable faster debug mode event logging run:
04-06 17:51:22.604 7234 7253 I FA : adb shell setprop debug.firebase.analytics.app co.blocksite
04-06 17:51:22.619 7234 7234 W com.facebook.aa: Please set a value for AutoLogAppEventsEnabled. Set the flag to TRUE if you want to collect app install, app launch and in-app purchase events automatically. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-android#disable-auto-events.
04-06 17:51:22.619 7234 7234 W com.facebook.aa: The value for AdvertiserIDCollectionEnabled is currently set to FALSE so you're sending app events without collecting Advertiser ID. This can affect the quality of your advertising and analytics results.
04-06 17:51:22.656 7234 7259 D NetworkSecurityConfig: No Network Security Config specified, using platform default
04-06 17:51:22.803 7234 7234 I GAv4 : Google Analytics 12.4.51 is starting up. To enable debug logging on a device run:
04-06 17:51:22.803 7234 7234 I GAv4 : adb shell setprop log.tag.GAv4 DEBUG
04-06 17:51:22.803 7234 7234 I GAv4 : adb logcat -s GAv4
04-06 17:51:22.950 686 686 W memtrack#1.0-se: type=1400 audit(0.0:363678): avc: denied { search } for name="proc" dev="debugfs" ino=14021 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:qti_debugfs:s0 tclass=dir permissive=0 ppid=1 pcomm="init" pgid=1 pgcomm="init"
04-06 17:51:23.038 4040 7295 I CheckinUtil: Classify the device as Phone.
04-06 17:51:23.099 4040 7295 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
04-06 17:51:23.101 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms#200914021#20.09.14 (040408-300565878):2)
04-06 17:51:23.101 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms#200914021#20.09.14 (040408-300565878):0)
04-06 17:51:23.180 4040 7295 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
04-06 17:51:23.180 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms#200914021#20.09.14 (040408-300565878):2)
04-06 17:51:23.180 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms#200914021#20.09.14 (040408-300565878):0)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: com.android.vending.billing.IInAppBillingService$Stub is not available, please add com.android.vending.billing.IInAppBillingService$Stub to the project.
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: java.lang.ClassNotFoundException: Didn't find class "com.android.vending.billing.IInAppBillingService$Stub" on path: DexPathList[[zip file "/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/base.apk", zip file "/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.in.apk", zip file "/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.xxhdpi.apk"],nativeLibraryDirectories=[/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/lib/arm64, /system/lib64, /system/vendor/lib64]]
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:611)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:633)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:627)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:125)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.f$1.onServiceConnected(InAppPurchaseActivityLifecycleTracker.java:108)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1634)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1663)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.handleCallback(Handler.java:789)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.dispatchMessage(Handler.java:98)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Looper.loop(Looper.java:251)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.main(ActivityThread.java:6572)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at java.lang.reflect.Method.invoke(Native Method)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.in.apk
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFileNative(Native Method)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFile(DexFile.java:353)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:100)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:74)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.<init>(DexPathList.java:157)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:36)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:676)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getClassLoader(LoadedApk.java:709)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getResources(LoadedApk.java:936)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ContextImpl.createAppContext(ContextImpl.java:2249)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5703)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.-wrap1(Unknown Source:0)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.dispatchMessage(Handler.java:105)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: ... 5 more
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.xxhdpi.apk
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFileNative(Native Method)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFile(DexFile.java:353)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:100)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:74)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.<init>(DexPathList.java:157)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:36)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:676)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getClassLoader(LoadedApk.java:709)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getResources(LoadedApk.java:936)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ContextImpl.createAppContext(ContextImpl.java:2249)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5703)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.-wrap1(Unknown Source:0)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.dispatchMessage(Handler.java:105)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: ... 5 more
04-06 17:51:23.405 5872 5875 E nightwatch-watcher: Failed to read from logcat: Success
04-06 17:51:24.405 5872 5875 E nightwatch-watcher: Failed to read from logcat: Success
04-06 17:51:24.613 2485 27804 I AudioPolicyManagerCustom: FLAG None hence request for a primary output
04-06 17:51:24.613 2485 27804 I AudioPolicyManagerCustom: FLAG None hence request for a primary output
04-06 17:51:24.618 675 25117 D audio_hw_primary: start_output_stream: enter: stream(0xe69b1000)usecase(1: low-latency-playback) devices(0x2)
04-06 17:51:24.619 675 25117 D audio_hw_primary: select_devices for use case (low-latency-playback)
04-06 17:51:24.619 702 772 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
04-06 17:51:24.620 675 25117 D audio_hw_primary: select_devices: btsco_unavailable(0), mode(0), out_snd_device(speaker), in_snd_device(), BTSCO on?(0)
04-06 17:51:24.620 675 25117 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
04-06 17:51:24.620 675 25117 D audio_hw_primary: select_devices: out_snd_device(84: speaker) in_snd_device(0: )
04-06 17:51:24.620 675 25117 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
04-06 17:51:24.621 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(84) num devices(1) new_snd_devices(0)
04-06 17:51:24.621 675 25117 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 84
04-06 17:51:24.621 675 25117 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
04-06 17:51:24.621 675 25117 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
04-06 17:51:24.621 675 25117 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
04-06 17:51:24.621 675 25117 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
04-06 17:51:24.621 675 25117 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
04-06 17:51:24.621 675 25117 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
04-06 17:51:24.621 675 25117 D audio_hw_primary: check_usecases_codec_backend:becf: (59) check_usecases curr device: speaker, usecase device: backends match 0
04-06 17:51:24.621 675 25117 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
04-06 17:51:24.621 675 25117 D hardware_info: hw_info_append_hw_type : device_name = speaker
04-06 17:51:24.621 675 25117 D audio_hw_spkr_prot: set_spkr_prot_cal: quick calibration disabled
04-06 17:51:24.621 675 25117 D audio_hw_spkr_prot: audio_extn_spkr_prot_start_processing: snd_device(84: speaker)
04-06 17:51:24.637 675 25117 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
04-06 17:51:24.637 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(0) new_snd_devices(0)
04-06 17:51:24.637 675 25117 D audio_hw_primary: enable_snd_device: snd_device(242: vi-feedback)
04-06 17:51:24.637 675 25117 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->in_snd_device vi-feedback
04-06 17:51:24.637 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(0) new_snd_devices(0)
04-06 17:51:24.638 675 25117 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 42 App Type Cfg
04-06 17:51:24.638 675 25117 E voice : voice_is_in_call_rec_stream: input stream is NULL
04-06 17:51:24.638 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(1) new_snd_devices(0)
04-06 17:51:24.638 675 25117 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 102, path = 1, app id = 0x11132, sample rate = 48000
04-06 17:51:24.638 675 25117 D ACDB-LOADER: ACDB -> send_asm_topology
04-06 17:51:24.638 675 25117 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
04-06 17:51:24.639 675 25117 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
04-06 17:51:24.639 675 25117 D audio_hw_primary: enable_audio_route: apply mixer and update path: spkr-vi-record
04-06 17:51:24.696 675 25117 E voice : voice_is_in_call_rec_stream: input stream is NULL
04-06 17:51:24.696 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(249) num devices(1) new_snd_devices(0)
04-06 17:51:24.696 675 25117 D msm8974_platform: Resetting app type for Tx path to default
04-06 17:51:24.696 675 25117 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 4, path = 1, app id = 0x11132, sample rate = 8000
04-06 17:51:24.696 675 25117 D ACDB-LOADER: ACDB -> send_asm_topology
04-06 17:51:28.902 693 693 I WifiHAL : Got channel list with 0 channels
04-06 17:51:34.180 675 25117 D ACDB-LOADER: ACDB -> send_audstrmtable
04-06 17:51:34.180 675 25117 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_V2
04-06 17:51:34.536 6400 7364 I PlayCommon: [4374] amjg.c(160): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
04-06 17:51:34.546 7337 7355 I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21400
04-06 17:51:34.546 7337 7355 I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 21400
04-06 17:51:34.546 7337 7355 V DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
04-06 17:51:34.582 6400 7364 I PlayCommon: [4374] amjg.c(187): Successfully uploaded logs.
04-06 17:51:34.586 7337 7355 I DynamiteLoaderV2: [71] AdsFdrDynamite.integ
04-06 17:51:34.627 6400 7357 I Finsky : [4372] kzb.a(3): Flushing event logs for [2PfsML0Opm97BNp3Vmjneg0WGYl9g1k4XoksxIgDcKo]
04-06 17:51:34.630 7337 7355 W zygote64: Skipping duplicate class check due to unrecognized classloader
04-06 17:51:34.640 6400 7370 I PlayCommon: [4375] amjg.c(26): Preparing logs for uploading
04-06 17:51:34.652 2595 2595 D QSEECOMAPI: Loaded image: APP id = 15532035
04-06 17:51:34.653 6400 7370 I PlayCommon: [4375] amjg.c(160): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
04-06 17:51:34.656 6400 7226 I PlayCommon: [4370] amjg.c(187): Successfully uploaded logs.
04-06 17:51:34.674 7337 7337 I FIAM.Headless: Starting InAppMessaging runtime with Instance ID e8A6chHg1Aw
04-06 17:51:34.680 4670 7353 I FSA2_SyncState: #readSyncState: # anav#1cf57a1d
04-06 17:51:34.682 7337 7366 I FA : App measurement is starting up, version: 16250
04-06 17:51:34.683 7337 7366 I FA : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
04-06 17:51:34.683 7337 7366 I FA : To enable faster debug mode event logging run:
04-06 17:51:34.683 7337 7366 I FA : adb shell setprop debug.firebase.analytics.app z.zapps
04-06 17:51:34.695 7337 7376 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
04-06 17:51:34.705 6400 7370 I PlayCommon: [4375] amjg.c(187): Successfully uploaded logs.
04-06 17:51:34.736 2595 2595 D QSEECOMAPI: QSEECom_dealloc_memory
04-06 17:51:34.736 2595 2595 D QSEECOMAPI: QSEECom_shutdown_app, app_id = 15532035
04-06 17:51:34.742 7337 7337 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
04-06 17:51:34.749 6400 7357 I Finsky : [4372] kzb.a(3): Flushing event logs for [C2HVsP0RayqcvyZDLh2MyqiGl_QkpHbeZvmi7nFXm6I]
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: NetClient: java.lang.IllegalArgumentException: Unexpected char 0x00 at 15 in header value: 358970073360390??
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.squareup.okhttp.Headers$Builder.checkNameAndValue(Headers.java:295)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.squareup.okhttp.Headers$Builder.set(Headers.java:275)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.squareup.okhttp.Request$Builder.header(Request.java:185)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.utils.NetClient.executeHttpRequestImpl(NetClient.java:209)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.utils.NetClient.executeHttpRequest(NetClient.java:91)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.utils.NetClient.executeHttpRequest(NetClient.java:79)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.cloudconfig.CloudConfigurator.handleImeiCheck(CloudConfigurator.java:600)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.cloudconfig.CloudConfigurator.handleCloudIntent(CloudConfigurator.java:196)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.EnterpriseConfigService$IntentHandler.run(EnterpriseConfigService.java:131)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at java.lang.Thread.run(Thread.java:764)
04-06 17:51:34.766 7337 7379 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
04-06 17:51:34.778 7337 7337 I FirebaseInitProvider: FirebaseApp initialization successful
04-06 17:51:35.041 6400 7357 I Finsky : [4372] urh.a(16): SCH: jobFinished: 16-16161616. TimeElapsed: 656ms.
04-06 17:51:35.225 7337 7337 I Adreno : QUALCOMM build : 8aaecb6, Ib515ec08c2
04-06 17:51:35.225 7337 7337 I Adreno : Build Date : 10/19/17
04-06 17:51:35.225 7337 7337 I Adreno : OpenGL ES Shader Compiler Version: EV031.20.00.04
04-06 17:51:35.225 7337 7337 I Adreno : Local Branch :
04-06 17:51:35.225 7337 7337 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.6.5.R1.08.00.00.312.030
04-06 17:51:35.225 7337 7337 I Adreno : Remote Branch : NONE
04-06 17:51:35.225 7337 7337 I Adreno : Reconstruct Branch : NOTHING
04-06 17:51:35.227 7337 7337 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib64/hw/gralloc.msm8996.so from the current namespace instead.
04-06 17:51:35.233 7337 7337 I Adreno : PFP: 0x005ff087, ME: 0x005ff063
04-06 17:51:35.353 2707 2717 I zygote64: Background concurrent copying GC freed 206277(10MB) AllocSpace objects, 90(13MB) LOS objects, 34% free, 46MB/70MB, paused 8.313ms total 488.411ms
04-06 17:51:35.411 5872 5875 E nightwatch-watcher: Failed to read from logcat: Success
04-06 17:51:35.661 7337 7423 E flutter : [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: The getter 'defaultBinaryMessenger' was called on null.
04-06 17:51:35.661 7337 7423 E flutter : Receiver: null
04-06 17:51:35.661 7337 7423 E flutter : Tried calling: defaultBinaryMessenger
04-06 17:51:35.661 7337 7423 E flutter : #0 defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:90)
04-06 17:51:35.661 7337 7423 E flutter : #1 MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140)
04-06 17:51:35.661 7337 7423 E flutter : #2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314)
04-06 17:51:35.661 7337 7423 E flutter : #3 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:349)
04-06 17:51:35.661 7337 7423 E flutter : #4 MethodChannelSharedPreferencesStore.getAll (package:shared_preferences_platform_interface/method_channel_shared_preferences.dart:54)
04-06 17:51:35.661 7337 7423 E flutter : #5 SharedPreferences._getSharedPreferencesMap (package:shared_preferences/shared_preferences.dart:166)
04-06 17:51:35.661 7337 7423 E flutter : #6 SharedPreferences.getInstance (package:shared_preferences/shared_preferences.dart:33)
04-06 17:51:35.661 7337 7423 E flutter : #7 _prefs (package:zapps/src/translations.dart:11)
04-06 17:51:35.661 7337 7423 E flutter : #8 _prefs (package:zapps/src/translations.dart:11)
04-06 17:51:35.661 7337 7423 E flutter : #9 Translations._getApplicationSavedInformation (package:zapps/src/translations.dart:109)
04-06 17:51:35.661 7337 7423 E flutter : #10 Translations.getPreferredLanguage (package:zapps/src/translations.dart:57)
04-06 17:51:35.661 7337 7423 E flutter : #11 Translations.setNewLanguage (package:zapps/src/translations.dart:69)
04-06 17:51:35.661 7337 7423 E flutter : #12 Translations.init (package:zapps/src/translations.dart:48)
04-06 17:51:35.661 7337 7423 E flutter : #13 main (package:zapps/main.dart:20)
04-06 17:51:35.661 7337 7423 E flutter : #14 _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:239)
04-06 17:51:35.661 7337 7423 E flutter : #15 _rootRun (dart:async/zone.dart:1126)
04-06 17:51:35.661 7337 7423 E flutter : #16 _CustomZone.run (dart:async/zone.dart:1023)
04-06 17:51:35.661 7337 7423 E flutter : #17 _runZoned (dart:async/zone.dart:1518)
04-06 17:51:35.661 7337 7423 E flutter : #18 runZoned (dart:async/zone.dart:1502)
04-06 17:51:35.661 7337 7423 E flutter : #19 _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:231)
04-06 17:51:35.661 7337 7423 E flutter : #20 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:307)
04-06 17:51:35.661 7337 7423 E flutter : #21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174)
04-06 17:51:35.661 7337 7423 E flutter :
04-06 17:51:35.790 7337 7337 I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21400
04-06 17:51:35.790 7337 7337 I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 21400
04-06 17:51:35.793 7337 7337 D DynamitePackage: Instantiated singleton DynamitePackage.
04-06 17:51:35.793 7337 7337 D DynamitePackage: Instantiating com.google.android.gms.ads.reward.ChimeraRewardedVideoAdCreatorImpl
04-06 17:51:35.816 7337 7337 I Ads : Updating ad debug logging enablement.
04-06 17:51:35.851 7337 7337 I FIAM.Headless: Setting display event listener
04-06 17:51:35.854 7337 7337 I FIAM.Headless: went foreground
04-06 17:51:35.861 7337 7375 I FIAM.Headless: Forcing fetch from service rather than cache. Test Device: false | App Fresh Install: true
04-06 17:51:35.863 7337 7375 W FIAM.Headless: Recoverable exception while reading cache: /data/user/0/z.zapps/files/fiam_impressions_store_file (No such file or directory)
04-06 17:51:35.866 7337 7375 I FIAM.Headless: Fetching campaigns from service.
04-06 17:51:36.078 2707 2869 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{5d68e67 u0 z.zapps/.MainActivity t1343} time:138503622 diff:1987 start:cold| batt:56|2 mw:off|1 mem:759588|0|68|13|14 cpu:[1593600, 1593600, 1824000, 1824000]
04-06 17:51:36.081 7337 7337 I TAG : All location settings are satisfied.
04-06 17:51:36.087 2707 2784 D ActivityTrigger: ActivityTrigger activityStopTrigger
04-06 17:51:36.093 702 772 E ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 0
04-06 17:51:36.093 702 772 E ANDR-PERF-OPTSHANDLER: return value 2
04-06 17:51:37.474 675 1389 D audio_hw_primary: out_standby: exit
04-06 17:51:37.722 3817 3889 I QCNEJ/CndHalConnector: -> SND notifyWifiStatusChanged(RatInfo{type=1, subType=101, state=CONNECTED, v4=IfaceAddrPair{iface=wlan0, addr=192.168.1.4}, v6=IfaceAddrPair{iface=, addr=}, timestamp=2020-04-06 17:51:37.721, isAndroidValidated=true, netHandle=566952119006, slotIdx=0} WifiInfo{freq=TWO_GHz, state=3, ssid=fh_5e7090, bssid=00:67:62:5e:70:90, dns=[192.168.1.1, 0.0.0.0, 0.0.0.0, 0.0.0.0, ]})
04-06 17:51:38.090 686 686 W memtrack#1.0-se: type=1400 audit(0.0:363701): avc: denied { search } for name="proc" dev="debugfs" ino=14021 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:qti_debugfs:s0 tclass=dir permissive=0 ppid=1 pcomm="init" pgid=1 pgcomm="init"
04-06 17:51:38.200 686 686 I chatty : uid=1000(system) memtrack#1.0-se identical 4 lines
04-06 17:51:38.200 686 686 W memtrack#1.0-se: type=1400 audit(0.0:363706): avc: denied { search } for name="proc" dev="debugfs" ino=14021 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:qti_debugfs:s0 tclass=dir permissive=0 ppid=1 pcomm="init" pgid=1 pgcomm="init"
04-06 17:51:38.414 5872 5875 E nightwatch-watcher: Failed to read from logcat: Success
Note: I'm building using CodeMagic.io with Stable Channel Version.
any idea?
The error is caused by invoking platform channels before calling runApp.
Since the last stable Flutter version, doing so requires you to call WidgetsFlutterBinding.ensureInitialized(); beforehand, which ensures that Flutter is bound to the platform it's running on before you actually try to communicate to it using platform channels.
Calling this before any other code that makes use of platform channels should fix your issue - I guess you could have it as the very first line of code in your main() function:
WidgetsFlutterBinding.ensureInitialized();
Edit: My answer is only valid for the specific inner exception that the author was getting:
E flutter : Tried calling: defaultBinaryMessenger
E flutter : #0 defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:90)
E flutter : #1 MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140)
E flutter : #2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314)
It is possible you are getting the exact same outer exception, but with a completely different inner exception (root cause), in which case my answer does not apply!

Silent APK installation by the device owner doesn't work on MIUI 11

I have a "device owner" Android app which silently installs APK using PackageInstaller (see the code, for example, here).
This code works perfectly on all Android 7+ devices except Xiaomi Redmi 7A (running MIUI 11). The installation fails, here's the related logcat output:
01-16 00:43:21.494 1488 2892 I InstallationStatistic: beginInstallSession: 417086238
01-16 00:43:21.600 1488 1658 D com.android.server.pm.PackageManagerServiceInjector: Package verify start
01-16 00:43:21.601 1488 1538 D CompatibilityInfo: mCompatibilityFlags - 0
01-16 00:43:21.601 1488 1538 D CompatibilityInfo: applicationDensity - 320
01-16 00:43:21.601 1488 1538 D CompatibilityInfo: applicationScale - 1.0
01-16 00:43:21.611 24382 24395 D GuardProvider: start parse apk : /data/app/vmdl417086238.tmp
01-16 00:43:21.618 24382 24395 E i.guardprovide: Invalid ID 0x00000000.
01-16 00:43:21.638 4434 24418 D PackageVerifyedRecevier: verify package /data/app/vmdl417086238.tmp info: PackageInfo{45d0d6b com.hmdm.sendphoto}
01-16 00:43:21.638 4434 24418 D PackageVerifyedRecevier: verify package /data/app/vmdl417086238.tmp finish true
01-16 00:43:21.639 1488 1658 I com.android.server.pm.PackageManagerServiceInjector: MIUILOG- Install Reject uid: 10161 pkg : com.hmdm.launcher
01-16 00:43:21.639 1488 1658 E PackageInstaller: Commit of session 417086238 failed: Permission Denied
Package ID of the installer (device owner) is com.hmdm.launcher. Package ID of the app being installed is com.hmdm.sendphoto.
I tried to add the "Install unknown apps" permission but this didn't help.
Looks like the app must request MIUI OS for some special (undocumented) permissions?
The device owner rights were granted to the application by QR code based enrollment.
Also with MIUI 10.3 some apps are refused to install/update.
For instance, I cannot install a Threema update the usual way (and just get a silly error 'not installed'). logcat shows that com.miui.global.packageinstaller.action.verifypackage called by com.android.server.pm.PackageManagerServiceInjector fails:
02-16 11:29:05.809 1271 1853 D com.android.server.pm.PackageManagerServiceInjector: Package verify start
02-16 11:29:05.810 1271 1317 D CompatibilityInfo: mCompatibilityFlags - 0
02-16 11:29:05.810 1271 1317 D CompatibilityInfo: applicationDensity - 440
02-16 11:29:05.810 1271 1317 D CompatibilityInfo: applicationScale - 1.0
02-16 11:29:05.812 1271 6228 W ActivityManager: Sending non-protected broadcast com.miui.global.packageinstaller.action.verifypackage from system 3440:com.miui.securitycenter.remote/1000 pkg com.miui.securitycenter. Callers=
02-16 11:29:05.816 3440 25765 E ActivityThread: Failed to find provider info for guard
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: parseApk
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: java.lang.IllegalArgumentException: Unknown URI content://guard
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at android.content.ContentResolver.call(Unknown Source:63)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at com.miui.permcenter.install.q.doInBackground(Unknown Source:17)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at com.miui.permcenter.install.q.doInBackground(Unknown Source:2)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at android.os.AsyncTask$2.call(Unknown Source:20)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
02-16 11:29:05.817 3440 25765 E PackageVerifyedRecevier: at java.lang.Thread.run(Thread.java:764)
02-16 11:29:05.817 3440 25765 D PackageVerifyedRecevier: verify package /data/app/vmdl216836998.tmp info: null
02-16 11:29:05.818 3440 25765 D PackageVerifyedRecevier: verify package /data/app/vmdl216836998.tmp finish false
02-16 11:29:05.818 1271 1853 I com.android.server.pm.PackageManagerServiceInjector: MIUILOG- INSTALL_FAILED_VERIFICATION_FAILURE uid: 10026 pkg : com.google.android.packageinstaller
What worked for me was to move the apk file to /data/local/tmp/
and then call as root
pm install -r file.apk

Release application always crashing on splash screen

I'm facing an issue with React Native release builds. Either on iPhone or Android, my application works fine in debug mode, but after building with release configuration, the app always crashes on the splash screen.
On Android, I'm getting an OutOfMemory in the log triggered by WebSocketReader.java. Here is the Android log :
07-26 10:57:18.639 5893 7623 E AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
07-26 10:57:18.639 5893 7623 E AndroidRuntime: Process: com.schooltoring, PID: 5893
07-26 10:57:18.639 5893 7623 E AndroidRuntime: java.lang.OutOfMemoryError: Failed to allocate a 10628794 byte allocation with 4409280 free bytes and 4MB until OOM
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at java.lang.StringFactory.newStringFromBytes(StringFactory.java:79)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at java.lang.StringFactory.newStringFromBytes(StringFactory.java:207)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okio.Buffer.readString(Buffer.java:620)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okio.Buffer.readUtf8(Buffer.java:591)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okhttp3.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.java:222)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:101)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:262)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:201)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okhttp3.RealCall$AsyncCall.execute(RealCall.java:135)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
07-26 10:57:18.639 5893 7623 E AndroidRuntime: at java.lang.Thread.run(Thread.java:762)
Complete log : https://gist.github.com/SLedunois/7d801cb0e55f2ae98bdbc054b0a84e61 (Sorry about the link. Crash report are too long to be included in the body)
On iPhone, I don't really understand the crash report. I'm new at iOS development. Here is the iOS crash report :
https://gist.github.com/SLedunois/76eaa85dfebb2ceff1f97cb4723989f1
I think, the error is caused by :
Thread 12 Crashed:
0 libsystem_kernel.dylib 0x00000001815192ec __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001816ba288 pthread_kill$VARIANT$mp + 376
2 libsystem_c.dylib 0x0000000181487d0c abort + 140
3 Schooltoring 0x0000000100ccc734 0x100c78000 + 345908
4 CoreFoundation 0x0000000181a931c8 __handleUncaughtException + 828
5 libobjc.A.dylib 0x0000000180c4c8c8 _objc_terminate+ 35016 () + 112
6 Schooltoring 0x0000000100cb090c 0x100c78000 + 231692
7 libc++abi.dylib 0x0000000180c3d37c std::__terminate(void (*)+ 111484 ()) + 16
8 libc++abi.dylib 0x0000000180c3cccc __cxxabiv1::exception_cleanup_func+ 109772 (_Unwind_Reason_Code, _Unwind_Exception*) + 0
9 libobjc.A.dylib 0x0000000180c4c720 _objc_exception_destructor+ 34592 (void*) + 0
10 Schooltoring 0x0000000100d61af0 0x100c78000 + 957168
11 Schooltoring 0x0000000100d61638 0x100c78000 + 955960
12 libdispatch.dylib 0x0000000181384aa0 _dispatch_call_block_and_release + 24
13 libdispatch.dylib 0x0000000181384a60 _dispatch_client_callout + 16
14 libdispatch.dylib 0x000000018138e9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608
15 libdispatch.dylib 0x000000018138f2fc _dispatch_queue_invoke$VARIANT$mp + 336
16 libdispatch.dylib 0x000000018138fcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
17 libdispatch.dylib 0x0000000181398098 _dispatch_workloop_worker_thread$VARIANT$mp + 668
18 libsystem_pthread.dylib 0x00000001816b7e70 _pthread_wqthread + 860
19 libsystem_pthread.dylib 0x00000001816b7b08 start_wqthread + 4
All my builds are configured to be signed.
Does someone face a similar issue?
Try adding android:largeHeap="true" to your manifest under application:
Ex. <application android:label="YourApp" android:largeHeap="true"></application>
Found solution. The error was triggered because of the static image used in the application were too big.
See https://facebook.github.io/react-native/docs/images for more explanations.

Categories

Resources