Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [firebase_core] java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@dbed45a #4090

Closed
kw2019ltd opened this issue Nov 11, 2020 · 38 comments
Labels
blocked: firebase-sdk impact: crowd Affects many people, though not necessarily a specific customer with an assigned label. (P2) plugin: analytics plugin: core type: bug Something isn't working

Comments

@kw2019ltd
Copy link

kw2019ltd commented Nov 11, 2020

Bug report

Describe the bug
app crashing when launching on below error , it was working before when using firebase_core: 0.5.0+1

there is open issue on google:
firebase/firebase-android-sdk#1662

  firebase_core: ^0.5.2
  firebase_crashlytics: ^0.2.3
  firebase_analytics: ^6.2.0
  firebase_messaging: ^7.0.3
  firebase_ml_vision: ^0.9.9
  firebase_admob: ^0.10.2
  firebase_remote_config: ^0.4.2

Steps to reproduce

Steps to reproduce the behavior:

1. take example from firebase_ml
2. add below dependency
   firebase_core: ^0.5.2
  firebase_crashlytics: ^0.2.3
  firebase_analytics: ^6.2.0
  firebase_messaging: ^7.0.3
  firebase_ml_vision: ^0.9.9
  firebase_admob: ^0.10.2
  firebase_remote_config: ^0.4.2
4. under build gradle add

dependencies {
..........
    **api 'com.google.firebase:firebase-ml-vision-barcode-model:16.1.2'
    api 'com.google.firebase:firebase-ml-vision:24.1.0'**
.................
    **implementation 'com.google.android.gms:play-services-vision-common:19.1.2'
    implementation 'com.google.android.gms:play-services-vision:20.1.2'
    implementation 'com.google.android.gms:play-services-vision-image-label:18.1.0'**
}

run app and you will see error in console

event sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in barcode_app...}
event sent after app closed: {id: 0, progressId: null, finished: true}
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Tools\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_analytics-6.2.0\android\src\main\java\io\flutter\plugins\firebaseanalytics\FirebaseAnalyticsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Tools\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_remote_config-0.4.2\android\src\main\java\io\flutter\plugins\firebase\firebaseremoteconfig\MethodCallHandlerImpl.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Tools\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_flexible_toast-0.1.4\android\src\main\kotlin\sanketvekariya\flutter_flexible_toast\GifImageView.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Tools\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_custom_tabs-0.6.0\android\src\main\java\com\github\droibit\flutter\plugins\customtabs\internal\Launcher.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Tools\flutter\.pub-cache\hosted\pub.dartlang.org\just_audio-0.5.6\android\src\main\java\com\ryanheise\just_audio\AudioPlayer.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Tools\flutter\.pub-cache\git\multi_image_picker-b853ec2d6f1d7f6ee792020a9883287c20ed03a1\android\src\main\java\com\vitanov\multiimagepicker\FileDirectory.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Waiting for Android SDK built for x86 to report its views...
Debug service listening on ws://127.0.0.1:57939/-2edWHjMHus=/ws
Syncing files to device Android SDK built for x86...
D/EGL_emulation(17466): eglMakeCurrent: 0xd9c1b080: ver 2 0 (tinfo 0xd9c0fcf0)
I/Choreographer(17466): Skipped 133 frames!  The application may be doing too much work on its main thread.
D/TransportRuntime.CctTransportBackend(17466): Making request to: https://crashlyticsreports-pa.googleapis.com/v1/firelog/legacy/batchlog
I/.ltd.barcodeap(17466): NativeAlloc concurrent copying GC freed 18683(917KB) AllocSpace objects, 5(224KB) LOS objects, 49% free, 2635KB/5271KB, paused 407us total 103.618ms
D/EGL_emulation(17466): eglMakeCurrent: 0xecf7eda0: ver 2 0 (tinfo 0xd67396b0)
I/TransportRuntime.CctTransportBackend(17466): Status Code: 200
I/TransportRuntime.CctTransportBackend(17466): Content-Type: application/json; charset=UTF-8
I/TransportRuntime.CctTransportBackend(17466): Content-Encoding: gzip
W/.ltd.barcodeap(17466): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
W/.ltd.barcodeap(17466): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/.ltd.barcodeap(17466): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
I/ExoPlayerImpl(17466): Init a33330d [ExoPlayerLib/2.11.7] [generic_x86, Android SDK built for x86, Google, 29]
I/Choreographer(17466): Skipped 47 frames!  The application may be doing too much work on its main thread.
I/VideoCapabilities(17466): Unsupported profile 4 for video/mp4v-es
I/OMXClient(17466): IOmx service obtained
I/ACodec  (17466): codec does not support config priority (err -2147483648)
W/ConnectionTracker(17466): Exception thrown while unbinding
W/ConnectionTracker(17466): java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@c66690e
W/ConnectionTracker(17466): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1751)
W/ConnectionTracker(17466): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1776)
W/ConnectionTracker(17466): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
W/ConnectionTracker(17466): 	at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
W/ConnectionTracker(17466): 	at com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
W/ConnectionTracker(17466): 	at com.google.android.gms.measurement.internal.zzio.zzag(com.google.android.gms:play-services-measurement-impl@@17.6.0:245)
W/ConnectionTracker(17466): 	at com.google.android.gms.measurement.internal.zzio.zzal(com.google.android.gms:play-services-measurement-impl@@17.6.0:262)
W/ConnectionTracker(17466): 	at com.google.android.gms.measurement.internal.zzio.zzc(com.google.android.gms:play-services-measurement-impl@@17.6.0:336)
W/ConnectionTracker(17466): 	at com.google.android.gms.measurement.internal.zzir.zza(com.google.android.gms:play-services-measurement-impl@@17.6.0:2)
W/ConnectionTracker(17466): 	at com.google.android.gms.measurement.internal.zzai.run(com.google.android.gms:play-services-measurement-impl@@17.6.0:7)
W/ConnectionTracker(17466): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(17466): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(17466): 	at com.google.android.gms.measurement.internal.zzfs.run(com.google.android.gms:play-services-measurement-impl@@17.6.0:21)
Application finished.
@kw2019ltd kw2019ltd added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Nov 11, 2020
@kw2019ltd
Copy link
Author

kw2019ltd commented Nov 11, 2020

also this we have in logs

I/ExoPlayerImpl(31401): Release 185be00 [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29] [goog.exo.core]
I/OnePlusAudioTrackInjector(31401): stop() packageName: kw.ltd.barcodeproapp, sampleRate: 44100
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
I/ELEVOC_NS_FRONT(31401): cycle task begin release 0x72de437b80
I/ELEVOC_NS_FRONT(31401): cycle task Release 0x72de437b80
W/ConnectionTracker(31401): Exception thrown while unbinding
W/ConnectionTracker(31401): java.lang.IllegalArgumentException: Service not registered: lp@8ef833d
W/ConnectionTracker(31401): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1766)
W/ConnectionTracker(31401): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1810)
W/ConnectionTracker(31401): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
W/ConnectionTracker(31401): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):1)
W/ConnectionTracker(31401): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):10)
W/ConnectionTracker(31401): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(31401): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(31401): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(31401): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):6)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
I/ExoPlayerImpl(31401): Init f84858a [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29]
D/MediaCodec(31401):  name = OMX.google.mp3.decoder
I/OMXClient(31401): IOmx service obtained
I/ACodec  (31401): codec does not support config priority (err -2147483648)
I/ACodec  (31401): codec does not support config priority (err -2147483648)
W/ExtendedACodec(31401): Failed to get extension for extradata parameter
I/ELEVOC_NS_FRONT(31401): cycle task init 0x72d2e0d600
D/AudioTrack(31401): set(): streamType -1, sampleRate 44100, format 0x1, channelMask 0x1, frameCount 14144, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
D/AudioTrack(31401): Uid 10921 AudioTrack::setVolume left 1.000000 right 1.000000
D/DecorView(31401): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@4220b09[MainActivity]
I/NDOP    (31401): listening using window listener
I/CameraManagerGlobal(31401): Connecting to camera service
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008130): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008131): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(31401): [soar.cts] ignore the status update of camera: 2
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008132): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(31401): [soar.cts] ignore the status update of camera: 3
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008133): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(31401): [soar.cts] ignore the status update of camera: 4
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008134): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/CameraManagerGlobal(31401): [soar.cts] ignore the status update of camera: 5
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008135): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008136): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
W/Binder:31401_3(31401): type=1400 audit(0.0:1008137): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/SensorManager(31401): registerListenerImpl sensorName:lsm6dsm Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: kw.ltd.barcodeproapp,callingPid:31401,callingUid:10921
W/d.barcodeproapp(31401): type=1400 audit(0.0:1008138): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "persist.vendor.camera.privapp.list"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
I/flutter (31401): Can't initialize camera
W/Gralloc3(31401): allocator 3.x is not supported
I/flutter (31401): A CameraController was used after being disposed.
I/flutter (31401): Once you have called dispose() on a CameraController, it can no longer be used., #0      ChangeNotifier._debugAssertNotDisposed.<anonymous closure> (package:flutter/src/foundation/change_notifier.dart:117:9)
I/flutter (31401): #1      ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:123:6)
I/flutter (31401): #2      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:217:12)
I/flutter (31401): #3      ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:292:5)
I/flutter (31401): #4      CameraController.initialize (package:camera/camera.dart:281:7)
I/flutter (31401): <asynchronous suspension>
I/flutter (31401): #5      CameraMlVisionState._initialize (package:flutter_camera_ml_vision/flutter_camera_ml_vision.dart:214:31)
I/flutter (31401): <asynchronous suspension>
I/flutter (31401): #6      CameraMlVisionState.initState (package:flutter_camera_ml_vision/flutter_camera_ml_vision.dart:80:5)
I/flutter (31401): #7      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4765:58)
I/flutter (31401): #8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
I/flutter (31401): #9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
I/flutter (31401): #10     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
I/flutter (31401): #11     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
I/flutter (31401): #12     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
I/flutter (31401): #13     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
I/flutter (31401): #14     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
I/flutter (31401): #15     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
I/flutter (31401): #16     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
I/flutter (31401): #17     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
I/flutter (31401): #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
I/flutter (31401): #19     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
I/flutter (31401): #20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
I/flutter (31401): #21     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
I/flutter (31401): #22     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
I/flutter (31401): #23     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
I/flutter (31401): #24     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
I/flutter (31401): #25     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
I/flutter (31401): #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
I/flutter (31401): #27     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4800:11)
I/flutter (31401): #28     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
I/flutter (31401): #29     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
I/flutter (31401): #30     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4791:11)
I/flutter (31401): #31     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
I/flutter (31401): #32     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
I/flutter (31401): #33     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
I/flutter (31401): #34     _LayoutBuilderElement._layout.<anonymous closure> (package:flutter/src/widgets/layout_builder.dart:140:18)
I/flutter (31401): #35     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2683:19)
I/flutter (31401): #36     _LayoutBuilderElement._layout (package:flutter/src/widgets/layout_builder.dart:120:11)
I/flutter (31401): #37     RenderObject.invokeLayoutCallback.<anonymous closure> (package:flutter/src/rendering/object.dart:1883:59)
I/flutter (31401): #38     PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:915:15)
I/flutter (31401): #39     RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1883:14)
I/flutter (31401): #40     RenderConstrainedLayoutBuilder.rebuildIfNecessary (package:flutter/src/widgets/layout_builder.dart:229:7)
I/flutter (31401): #41     _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:355:5)
I/flutter (31401): #42     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #43     _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:357:13)
I/flutter (31401): #44     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #45     RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:268:14)
I/flutter (31401): #46     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #47     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:560:15)
I/flutter (31401): #48     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #49     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:207:12)
I/flutter (31401): #50     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #51     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
I/flutter (31401): #52     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:498:7)
I/flutter (31401): #53     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:243:7)
I/flutter (31401): #54     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:402:14)
I/flutter (31401): #55     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #56     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #57     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #58     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #59     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1308:11)
I/flutter (31401): #60     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #61     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #62     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #63     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #64     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #65     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #66     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #67     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #68     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #69     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #70     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #71     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3220:14)
I/flutter (31401): #72     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #73     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:113:14)
I/flutter (31401): #74     RenderObject.layout (package:flutter/src/rendering/object.dart:1777:7)
I/flutter (31401): #75     _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:685:15)
I/flutter (31401): #76     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1634:7)
I/flutter (31401): #77     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:884:18)
I/flutter (31401): #78     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:436:19)
I/flutter (31401): #79     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:914:13)
I/flutter (31401): #80     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:302:5)
I/flutter (31401): #81     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
I/flutter (31401): #82     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1055:9)
I/flutter (31401): #83     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:971:5)
I/flutter (31401): #84     _rootRun (dart:async/zone.dart:1190:13)
I/flutter (31401): #85     _CustomZone.run (dart:async/zone.dart:1093:19)
I/flutter (31401): #86     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
I/flutter (31401): #87     _invoke (dart:ui/hooks.dart:251:10)
I/flutter (31401): #88     _drawFrame (dart:ui/hooks.dart:209:3)
I/flutter (31401): 
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
E/SensorManager(31401): registerListenerImpl sensorName:lsm6dsm Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: kw.ltd.barcodeproapp,callingPid:31401,callingUid:10921
E/libc    (31401): Access denied finding property "persist.vendor.camera.privapp.list"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/System  (31401): A resource failed to call release. 
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
I/DynamiteModule(31401): Considering local module com.google.firebase.ml.vision.dynamite.barcode:10000 and remote module com.google.firebase.ml.vision.dynamite.barcode:0
I/DynamiteModule(31401): Selected local version of com.google.firebase.ml.vision.dynamite.barcode
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
I/tflite  (31401): Initialized TensorFlow Lite runtime.
I/native  (31401): barcode_detector_client.cc:238 Not using NNAPI
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I (greylist,core-platform-api, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->arrayIndexScale(Ljava/lang/Class;)I (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->peekLong(JZ)J (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->pokeLong(JJZ)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->pokeInt(JIZ)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->peekInt(JZ)I (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->pokeByte(JB)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->pokeByteArray(J[BII)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Llibcore/io/Memory;->peekByteArray(J[BII)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden field Ljava/nio/Buffer;->address:J (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, reflection, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
W/d.barcodeproap(31401): Long wait of 1.119ms for Thread[1,tid=31401,Native,Thread*=0x7384a10800,peer=0x72db0b38,"main"] suspension!
I/d.barcodeproap(31401): Background young concurrent copying GC freed 583(77KB) AllocSpace objects, 11(15MB) LOS objects, 35% free, 15MB/24MB, paused 5.222ms total 20.171ms
I/d.barcodeproap(31401): Background concurrent copying GC freed 622(70KB) AllocSpace objects, 12(14MB) LOS objects, 49% free, 12MB/24MB, paused 6.048ms total 22.840ms
W/Binder:31401_6(31401): type=1400 audit(0.0:1008151): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    (31401): Access denied finding property "vendor.camera.aux.packagelist"
W/Binder:31401_6(31401): type=1400 audit(0.0:1008152): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17277 scontext=u:r:untrusted_app:s0:c153,c259,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
E/SensorManager(31401): unregisterListenerImpl callingApp: kw.ltd.barcodeproapp,callingPid:31401,callingUid:10921
I/ExoPlayerImpl(31401): Release f84858a [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29] [goog.exo.core]
I/OnePlusAudioTrackInjector(31401): stop() packageName: kw.ltd.barcodeproapp, sampleRate: 44100
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
I/ELEVOC_NS_FRONT(31401): cycle task begin release 0x72d2e0d600
I/ELEVOC_NS_FRONT(31401): cycle task Release 0x72d2e0d600
W/ConnectionTracker(31401): Exception thrown while unbinding
W/ConnectionTracker(31401): java.lang.IllegalArgumentException: Service not registered: lp@8ef833d
W/ConnectionTracker(31401): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1766)
W/ConnectionTracker(31401): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1810)
W/ConnectionTracker(31401): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
W/ConnectionTracker(31401): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):1)
W/ConnectionTracker(31401): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):10)
W/ConnectionTracker(31401): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(31401): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(31401): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(31401): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):6)
I/NDOP    (31401): listening using window listener
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
I/ExoPlayerImpl(31401): Init e31d9d0 [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29]
D/MediaCodec(31401):  name = OMX.google.mp3.decoder
I/OMXClient(31401): IOmx service obtained
I/ACodec  (31401): codec does not support config priority (err -2147483648)
I/ACodec  (31401): codec does not support config priority (err -2147483648)
W/ExtendedACodec(31401): Failed to get extension for extradata parameter
I/ELEVOC_NS_FRONT(31401): cycle task init 0x72d2e0d200
D/AudioTrack(31401): set(): streamType -1, sampleRate 44100, format 0x1, channelMask 0x1, frameCount 14144, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
D/AudioTrack(31401): Uid 10921 AudioTrack::setVolume left 1.000000 right 1.000000
I/ExoPlayerImpl(31401): Release e31d9d0 [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29] [goog.exo.core]
I/OnePlusAudioTrackInjector(31401): stop() packageName: kw.ltd.barcodeproapp, sampleRate: 44100
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
I/ELEVOC_NS_FRONT(31401): cycle task begin release 0x72d2e0d200
I/ELEVOC_NS_FRONT(31401): cycle task Release 0x72d2e0d200
W/ConnectionTracker(31401): Exception thrown while unbinding
W/ConnectionTracker(31401): java.lang.IllegalArgumentException: Service not registered: lp@8ef833d
W/ConnectionTracker(31401): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1766)
W/ConnectionTracker(31401): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1810)
W/ConnectionTracker(31401): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
W/ConnectionTracker(31401): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):1)
W/ConnectionTracker(31401): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):10)
W/ConnectionTracker(31401): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(31401): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(31401): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(31401): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):6)
I/NDOP    (31401): listening using window listener
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
D/DecorView(31401): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@4220b09[MainActivity]
I/System.out(31401): ImageGallerySaverPlugin 80
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
I/ExoPlayerImpl(31401): Init f57ea17 [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29]
D/MediaCodec(31401):  name = OMX.google.mp3.decoder
I/OMXClient(31401): IOmx service obtained
I/ACodec  (31401): codec does not support config priority (err -2147483648)
I/ACodec  (31401): codec does not support config priority (err -2147483648)
W/ExtendedACodec(31401): Failed to get extension for extradata parameter
I/DynamiteModule(31401): Considering local module com.google.firebase.ml.vision.dynamite.barcode:10000 and remote module com.google.firebase.ml.vision.dynamite.barcode:0
I/DynamiteModule(31401): Selected local version of com.google.firebase.ml.vision.dynamite.barcode
I/native  (31401): barcode_detector_client.cc:238 Not using NNAPI
D/DecorView(31401): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@4220b09[MainActivity]
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
I/ELEVOC_NS_FRONT(31401): cycle task init 0x72d300d740
D/AudioTrack(31401): set(): streamType -1, sampleRate 44100, format 0x1, channelMask 0x1, frameCount 14144, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
D/AudioTrack(31401): Uid 10921 AudioTrack::setVolume left 1.000000 right 1.000000
I/OnePlusAudioTrackInjector(31401): play() packageName: kw.ltd.barcodeproapp
I/OnePlusAudioTrackInjector(31401): bufferSizeInBytes:28288, sampleRate:44100
E/AudioSystem-JNI(31401): Command failed for android_media_AudioSystem_setParameters: -1
E/AudioSystem-JNI(31401): Command failed for android_media_AudioSystem_setParameters: -1
D/AudioTrack(31401): ClientUid 10921 AudioTrack::start 
I/ELEVOC_NS_FRONT(31401): cycle start task... 0x72d300d740
D/ELEVOC_NS_FRONT(31401): cycle start task succ! 0x72d300d740
D/AudioTrack(31401): getTimestamp_l(29869): device stall time corrected using current time 1127095207825149
I/OnePlusAudioTrackInjector(31401): stop() packageName: kw.ltd.barcodeproapp, sampleRate: 44100
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
I/ELEVOC_NS_FRONT(31401): cycle stop task... 0x72d300d740
D/AudioTrack(31401): stop(29869): called with 43776 frames delivered
I/NDOP    (31401): listening using window listener
I/ExoPlayerImpl(31401): Release f57ea17 [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29] [goog.exo.core]
I/OnePlusAudioTrackInjector(31401): stop() packageName: kw.ltd.barcodeproapp, sampleRate: 44100
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
D/AudioTrack(31401): ClientUid 10921 AudioTrack::stop 
I/ELEVOC_NS_FRONT(31401): cycle task begin release 0x72d300d740
I/ELEVOC_NS_FRONT(31401): cycle task Release 0x72d300d740
W/ConnectionTracker(31401): Exception thrown while unbinding
W/ConnectionTracker(31401): java.lang.IllegalArgumentException: Service not registered: lp@8ef833d
W/ConnectionTracker(31401): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1766)
W/ConnectionTracker(31401): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1810)
W/ConnectionTracker(31401): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
W/ConnectionTracker(31401): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):1)
W/ConnectionTracker(31401): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):10)
W/ConnectionTracker(31401): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(31401): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(31401): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(31401): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):6)
W/d.barcodeproap(31401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
I/ExoPlayerImpl(31401): Init 136aef7 [ExoPlayerLib/2.11.7] [OnePlus7T, HD1903, OnePlus, 29]
D/MediaCodec(31401):  name = OMX.google.mp3.decoder
I/OMXClient(31401): IOmx service obtained
I/ACodec  (31401): codec does not support config priority (err -2147483648)
I/ACodec  (31401): codec does not support config priority (err -2147483648)
W/ExtendedACodec(31401): Failed to get extension for extradata parameter
I/ELEVOC_NS_FRONT(31401): cycle task init 0x72d2e0d4c0
D/AudioTrack(31401): set(): streamType -1, sampleRate 44100, format 0x1, channelMask 0x1, frameCount 14144, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
D/AudioTrack(31401): Uid 10921 AudioTrack::setVolume left 1.000000 right 1.000000
W/IInputConnectionWrapper(31401): getExtractedText on inactive InputConnection
W/IInputConnectionWrapper(31401): getTextBeforeCursor on inactive InputConnection
W/ConnectionTracker(31401): Exception thrown while unbinding
W/ConnectionTracker(31401): java.lang.IllegalArgumentException: Service not registered: lp@8ef833d
W/ConnectionTracker(31401): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1766)
W/ConnectionTracker(31401): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1810)
W/ConnectionTracker(31401): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:741)
W/ConnectionTracker(31401): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):1)
W/ConnectionTracker(31401): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):10)
W/ConnectionTracker(31401): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):2)
W/ConnectionTracker(31401): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):3)
W/ConnectionTracker(31401): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(31401): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(31401): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0):6)

@darshankawar
Copy link

On latest stable (1.22.3) using firebase_ml_vision example, if we have below dependencies in app/build.gradle:

dependencies {
    //  api 'com.google.firebase:firebase-ml-vision-image-label-model:20.0.1'
      api 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
        androidTestImplementation 'androidx.test:runner:1.2.0'
        androidTestImplementation 'androidx.test:rules:1.2.0'
        androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
      implementation 'com.google.android.gms:play-services-vision-common:19.1.2'
      implementation 'com.google.android.gms:play-services-vision:20.1.2'
      implementation 'com.google.android.gms:play-services-vision-image-labeling-internal:16.0.5'
      api 'com.google.firebase:firebase-ml-vision:24.1.0'
      api 'com.google.firebase:firebase-ml-vision-image-label-model:20.0.2'
    }

With only ml_vision plugin as a dependency, currently we get compile time errors as mentioned in 3995.

If we update app/build.gradle dependencies per this comment and run the app, it compiles and builds properly.

Now, with above config as-is, if we add any other dependency such as firebase_crashlytics: ^0.2.3 and compile the app, the app crashes upon launch.

@darshankawar darshankawar added plugin: ml_vision type: crash A compile error or crash and removed Needs Attention This issue needs maintainer attention. labels Nov 11, 2020
@leonardocustodio
Copy link

leonardocustodio commented Nov 11, 2020

@darshankawar using the config above even with other packages (I basically have most of them installed in my app) my app doesn't crash upon launch but it does crash eventually at sometime. Not sure if it is random or when one of the packages are trying to access some resource but it does crash after a while using the app.

I'm also using the latest stable version as well as the latest firebase packages.

Edit:
Hmm some weird thing is happening. I downgraded all packages back to where we wouldn't need those line. As well as removed all implementation and api lines. Also did a flutter clean.

Edit2:
I tried with another emulator and the downgraded version worked. Maybe it was something to do with the emulator that I was using.

@Vinzent03
Copy link

Vinzent03 commented Nov 14, 2020

I get the same error as @kw2019ltd :

W/ConnectionTracker(21022): Exception thrown while unbinding
W/ConnectionTracker(21022): java.lang.IllegalArgumentException: Service not registered: lq@777f952
W/ConnectionTracker(21022): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java)
W/ConnectionTracker(21022): 	at android.app.ContextImpl.unbindService(ContextImpl.java)
W/ConnectionTracker(21022): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java)
W/ConnectionTracker(21022): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):1)
W/ConnectionTracker(21022): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):2)
W/ConnectionTracker(21022): 	at lr.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):10)
W/ConnectionTracker(21022): 	at ld.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):2)
W/ConnectionTracker(21022): 	at ef.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):3)
W/ConnectionTracker(21022): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
W/ConnectionTracker(21022): 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
W/ConnectionTracker(21022): 	at iy.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (040408-0):6)

I get it in a new created flutter project with the only dependency firebase_core. Even with downgrading to 0.5.0 nothing changes.
Any updates to fix this?

@oliverbytes
Copy link

Same issue for me. Started for me just a few days ago

W/ConnectionTracker(29039): Exception thrown while unbinding
W/ConnectionTracker(29039): java.lang.IllegalArgumentException: Service not registered: lp@1f23aae
W/ConnectionTracker(29039): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1772)
W/ConnectionTracker(29039): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1895)
W/ConnectionTracker(29039): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:792)
W/ConnectionTracker(29039): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (150400-0):1)
W/ConnectionTracker(29039): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (150400-0):2)
W/ConnectionTracker(29039): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (150400-0):10)
W/ConnectionTracker(29039): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (150400-0):2)
W/ConnectionTracker(29039): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (150400-0):3)
W/ConnectionTracker(29039): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(29039): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(29039): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (150400-0):6)

@pim-wis
Copy link

pim-wis commented Nov 17, 2020

Same. Everytime i make a http post request my app crashes:

WConnectionTracker(30774) Exception thrown while unbinding
WConnectionTracker(30774) java.lang.IllegalArgumentException Service not registered lp@64694d1
WConnectionTracker(30774) at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java1870)
WConnectionTracker(30774) at android.app.ContextImpl.unbindService(ContextImpl.java1848)
WConnectionTracker(30774) at android.content.ContextWrapper.unbindService(ContextWrapper.java755)
WConnectionTracker(30774) at ci.f(com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0)1)
WConnectionTracker(30774) at ci.d(com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0)2)
WConnectionTracker(30774) at lq.D(com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0)10)
WConnectionTracker(30774) at lc.a(com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0)2)
WConnectionTracker(30774) at ee.run(com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0)3)
WConnectionTracker(30774) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java462)
WConnectionTracker(30774) at java.util.concurrent.FutureTask.run(FutureTask.java266)
WConnectionTracker(30774) at ix.run(com.google.android.gms.dynamite_measurementdynamite@[email protected] (120400-0)6)

@serendipity1004
Copy link

I have exactly the same error. Anyone have temporary solution or workaround? I get the same log as below and when error throws, the ui stops completely.

W/ConnectionTracker(31275): Exception thrown while unbinding
W/ConnectionTracker(31275): java.lang.IllegalArgumentException: Service not registered: lp@7a72b60
W/ConnectionTracker(31275): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1671)
W/ConnectionTracker(31275): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1781)
W/ConnectionTracker(31275): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:730)
W/ConnectionTracker(31275): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100400-0):1)
W/ConnectionTracker(31275): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100400-0):2)
W/ConnectionTracker(31275): 	at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100400-0):10)
W/ConnectionTracker(31275): 	at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100400-0):2)
W/ConnectionTracker(31275): 	at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100400-0):3)
W/ConnectionTracker(31275): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:459)
W/ConnectionTracker(31275): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(31275): 	at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100400-0):6)

flutter doctor below

[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-KR)
    • Flutter version 1.22.4 at /Users/jihochoi/Documents/libraries/flutter
    • Framework revision 1aafb3a8b9 (5 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/jihochoi/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.9.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.1)
    • IntelliJ at /Users/jihochoi/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin installed
    • Dart plugin version 202.8070

[!] VS Code (version 1.49.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • SM G955N (mobile) • ce051715a2e87e1e02 • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

@deckerst
Copy link

There is this workaround.

@oliverbytes
Copy link

There is this workaround.

There is this workaround.

didn't work for me :(

@carman247
Copy link

carman247 commented Nov 20, 2020

I'm also gettting this

W/ConnectionTracker(15730): Exception thrown while unbinding
W/ConnectionTracker(15730): java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzjl@4d1d01d
W/ConnectionTracker(15730): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1759)
W/ConnectionTracker(15730): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1786)
W/ConnectionTracker(15730): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:751)
W/ConnectionTracker(15730): 	at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
W/ConnectionTracker(15730): 	at com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzag(com.google.android.gms:play-services-measurement-impl@@18.0.0:245)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzal(com.google.android.gms:play-services-measurement-impl@@18.0.0:262)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzc(com.google.android.gms:play-services-measurement-impl@@18.0.0:336)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zziq.zza(com.google.android.gms:play-services-measurement-impl@@18.0.0:2)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzal.run(com.google.android.gms:play-services-measurement-impl@@18.0.0:7)
W/ConnectionTracker(15730): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(15730): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzfv.run(com.google.android.gms:play-services-measurement-impl@@18.0.0:21)

It seems to have started after updating Crashlytics SDK and adding FirebaseCore 0.5.2

App hasn't crashed yet but slightly concerned as I don't know what's causing this and needed to update Crashlytics

THIS SEEMS TO HAVE FIXED IT FOR ME

adding these two dependencies to app level build.gradle (../android/app/build.gradle)

dependencies {
    // other imports
    implementation 'com.google.firebase:firebase-analytics:18.0.0'
    implementation 'com.google.android.gms:play-services-basement:17.5.0'
}

@Eduardocoutto
Copy link

Eu também estou entendendo isso

W/ConnectionTracker(15730): Exception thrown while unbinding
W/ConnectionTracker(15730): java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzjl@4d1d01d
W/ConnectionTracker(15730): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1759)
W/ConnectionTracker(15730): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1786)
W/ConnectionTracker(15730): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:751)
W/ConnectionTracker(15730): 	at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
W/ConnectionTracker(15730): 	at com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzag(com.google.android.gms:play-services-measurement-impl@@18.0.0:245)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzal(com.google.android.gms:play-services-measurement-impl@@18.0.0:262)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzc(com.google.android.gms:play-services-measurement-impl@@18.0.0:336)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zziq.zza(com.google.android.gms:play-services-measurement-impl@@18.0.0:2)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzal.run(com.google.android.gms:play-services-measurement-impl@@18.0.0:7)
W/ConnectionTracker(15730): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(15730): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzfv.run(com.google.android.gms:play-services-measurement-impl@@18.0.0:21)

Parece ter começado depois de atualizar o SDK do Crashlytics e adicionar FirebaseCore 0.5.2

O aplicativo ainda não travou, mas estou um pouco preocupado, pois não sei o que está causando isso e preciso atualizar o Crashlytics

ISTO PARECE TER CORRIGIDO PARA MIM

adicionando essas duas dependências ao nível do aplicativo build.gradle (../android/app/build.gradle)

dependencies {
    // other imports
    implementation 'com.google.firebase:firebase-analytics:18.0.0'
    implementation 'com.google.android.gms:play-services-basement:17.5.0'
}

@carman247
It seems to have been fixed for me too, thanks!

@d-cegielka
Copy link

Eu também estou entendendo isso

W/ConnectionTracker(15730): Exception thrown while unbinding
W/ConnectionTracker(15730): java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzjl@4d1d01d
W/ConnectionTracker(15730): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1759)
W/ConnectionTracker(15730): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1786)
W/ConnectionTracker(15730): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:751)
W/ConnectionTracker(15730): 	at com.google.android.gms.common.stats.ConnectionTracker.zza(com.google.android.gms:play-services-basement@@17.3.0:55)
W/ConnectionTracker(15730): 	at com.google.android.gms.common.stats.ConnectionTracker.unbindService(com.google.android.gms:play-services-basement@@17.3.0:50)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzag(com.google.android.gms:play-services-measurement-impl@@18.0.0:245)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzal(com.google.android.gms:play-services-measurement-impl@@18.0.0:262)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzir.zzc(com.google.android.gms:play-services-measurement-impl@@18.0.0:336)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zziq.zza(com.google.android.gms:play-services-measurement-impl@@18.0.0:2)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzal.run(com.google.android.gms:play-services-measurement-impl@@18.0.0:7)
W/ConnectionTracker(15730): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(15730): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(15730): 	at com.google.android.gms.measurement.internal.zzfv.run(com.google.android.gms:play-services-measurement-impl@@18.0.0:21)

Parece ter começado depois de atualizar o SDK do Crashlytics e adicionar FirebaseCore 0.5.2
O aplicativo ainda não travou, mas estou um pouco preocupado, pois não sei o que está causando isso e preciso atualizar o Crashlytics
ISTO PARECE TER CORRIGIDO PARA MIM
adicionando essas duas dependências ao nível do aplicativo build.gradle (../android/app/build.gradle)

dependencies {
    // other imports
    implementation 'com.google.firebase:firebase-analytics:18.0.0'
    implementation 'com.google.android.gms:play-services-basement:17.5.0'
}

@carman247
It seems to have been fixed for me too, thanks!

I just added only
implementation 'com.google.firebase: firebase-analytics: 18.0.0'
and for me the problem also disappeared

@Navil
Copy link

Navil commented Nov 22, 2020

Same issue for me. For me it's also the error related to dynamite_measurementdynamite.

@wangxingxing123654
Copy link

Same issue for me. For me it's also the error related to dynamite_measurementdynamite.

D/ViewRootImpl@aeb4784MainActivity: ViewPostIme pointer 1
W/ConnectionTracker(27024): Exception thrown while unbinding
W/ConnectionTracker(27024): java.lang.IllegalArgumentException: Service not registered: lp@1690795
W/ConnectionTracker(27024): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1870)
W/ConnectionTracker(27024): at android.app.ContextImpl.unbindService(ContextImpl.java:1848)
W/ConnectionTracker(27024): at android.content.ContextWrapper.unbindService(ContextWrapper.java:755)
W/ConnectionTracker(27024): at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):1)
W/ConnectionTracker(27024): at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):2)
W/ConnectionTracker(27024): at lq.D(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):10)
W/ConnectionTracker(27024): at lc.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):2)
W/ConnectionTracker(27024): at ee.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):3)
W/ConnectionTracker(27024): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ConnectionTracker(27024): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(27024): at ix.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (120408-0):6)

dependencies {
// other imports
implementation 'com.google.firebase:firebase-analytics:18.0.0'
implementation 'com.google.android.gms:play-services-basement:17.5.0'
}

not work for me

@markusaksli-nc markusaksli-nc added impact: crowd Affects many people, though not necessarily a specific customer with an assigned label. (P2) plugin: core plugin: analytics and removed plugin: ml_vision labels Nov 25, 2020
@suha-glal
Copy link

Same issue and error but @carman247 suggested solution have solved the issue for me too.
I am not using the ml_vision plugging though.

@kbrmimbyl
Copy link

I'm taking the risk and going ahead and ignoring the exception warnings, as they seem to be from Google Play Services and being channeled into the error log via firebase_core. There's no actual app crash in either the simulator (API 22-29 tested) or physical devices (the few I have), so this doesn't seem like a huge risk for now. But damn, it's so scary. Is anyone from Google listening?

@Salakar
Copy link
Member

Salakar commented Dec 4, 2020

This is a known issue issue with the Firebase Android SDK and therefore there's nothing we can do to fix it on FlutterFire until its fixed upstream; firebase/firebase-android-sdk#1662

Given that this is a non-fatal error and isn't causing a crash I don't think there's anything to worry about for the time being.

@Salakar Salakar added blocked: firebase-sdk and removed type: crash A compile error or crash labels Dec 4, 2020
@phamquoctrongdev

This comment has been minimized.

@truongpx396
Copy link

truongpx396 commented Dec 24, 2020

Make sure to have this line in your MainActivity file " GeneratedPluginRegistrant.registerWith(flutterEngine);"

For example

import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
   override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
        GeneratedPluginRegistrant.registerWith(flutterEngine);
    }
}

@Ivan-Law
Copy link

Ivan-Law commented Jan 9, 2021

I started to have this issue after implementing firebase_admob to my Flutter project.
The above-mentioned solution works for me by adding these 2 lines under dependencies in andorid\app\build.gradle. The Java exception messages are gone.

implementation 'com.google.firebase:firebase-analytics:18.0.0'
implementation 'com.google.android.gms:play-services-basement:17.5.0'

After adding the lines, not just Hot Reload, the virtual machine is needed to close and restart.

@Vitor-Bukovitz
Copy link

I tried the solutions above and this is a big issue for me since Firebase Analytics considers this a crash. Any workaround besides the ones said above?

@giorgio79
Copy link

For anyone struggling with this, you will have to redo your app based on the latest methods on launching the app
Google revamped pretty much the entire plumbing...

https://firebase.flutter.dev/docs/overview
https://firebase.flutter.dev/docs/migration/

@ghost
Copy link

ghost commented Jan 21, 2021 via email

@workerbee22
Copy link

@maxweo I still have this error ... exactly what instructions did you follow to resolve it ? The error is still present even after a flutter clean

@ghost
Copy link

ghost commented Jan 22, 2021

@maxweo I still have this error ... exactly what instructions did you follow to resolve it ? The error is still present even after a flutter clean

@workerbee22 see https://firebase.flutter.dev/docs/migration

@workerbee22
Copy link

Sorry @maxweo the migration guide does not fix the issue for me.
Like @kw2019ltd and many others I still have the issue !

@ghost
Copy link

ghost commented Jan 22, 2021

@workerbee22
I think there may be a difference in terms of the errors encountered, yours concerns both firebase_core and ml_vision

@workerbee22
Copy link

workerbee22 commented Jan 22, 2021

Yes it seems to be which combination of FlutterFire packages you are using. Mine is closer to the list of packages from @kw2019ltd who originally raise the issue.

I'm now down to just the following ... core, analytics and crashlytics .... STILL have this issue. Still some combination testing to do, but I'm guessing the root cause in in firebase_core

  # Firebase
  firebase_core: ^0.7.0             
  firebase_analytics: ^7.0.1       
  firebase_crashlytics: ^0.4.0+1 
    
  #firebase_auth: ^0.20.0             
  #firebase_performance: ^0.5.0+1     
  #firebase_remote_config: ^0.6.0     
  #cloud_firestore: ^0.14.1+3         
  #firebase_storage: ^4.0.1           
  #firebase_messaging: ^7.0.3         

@Salakar
Copy link
Member

Salakar commented May 10, 2021

Hey, 👋, the firebase_ml_vision package is now discontinued since its APIs have been deprecated and removed from the Android & iOS Firebase SDKs.

I'd recommend switching to the alternatives now;

  • for on-device vision APIs; switch to Google's standalone ML Kit library via google_ml_kit
  • for cloud vision APIs; the recommended approach now is to use Firebase
    Authentication and Functions, which gives you a managed, serverless gateway to the Google Cloud Vision APIs. For an example Functions project see the vision-annotate-images sample project. You'd deploy this project for example and then call the cloud function from your app with your image data to get the annotation result.

Apologies for any inconvenience here and best of luck switching over the the new APIs. firebase_ml_custom is not affected by this deprecation.

Thanks

@Salakar Salakar closed this as completed May 10, 2021
@dsgriffin
Copy link

dsgriffin commented May 10, 2021

@Salakar these errors occur even without the firebase_ml_vision package

@Salakar Salakar reopened this May 10, 2021
@Salakar Salakar changed the title 🐛 [firebase_core,firebase_ml_vision] java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@dbed45a 🐛 [firebase_core] java.lang.IllegalArgumentException: Service not registered: com.google.android.gms.measurement.internal.zzji@dbed45a May 10, 2021
@Salakar
Copy link
Member

Salakar commented May 10, 2021

@Salakar these errors occur even without the firebase_ml_vision package

Re-opened and updated title

@russellwheatley
Copy link
Member

This isn't an error, it is a warning:

W/ConnectionTracker(12061): Exception thrown while unbinding
W/ConnectionTracker(12061): java.lang.IllegalArgumentException: Service not registered: lu@6244ce5
W/ConnectionTracker(12061): 	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1562)
W/ConnectionTracker(12061): 	at android.app.ContextImpl.unbindService(ContextImpl.java:1692)
W/ConnectionTracker(12061): 	at android.content.ContextWrapper.unbindService(ContextWrapper.java:717)
W/ConnectionTracker(12061): 	at ci.f(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100700-0):1)
W/ConnectionTracker(12061): 	at ci.d(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100700-0):2)
W/ConnectionTracker(12061): 	at lv.E(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100700-0):9)
W/ConnectionTracker(12061): 	at lf.a(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100700-0):3)
W/ConnectionTracker(12061): 	at ef.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100700-0):3)
W/ConnectionTracker(12061): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
W/ConnectionTracker(12061): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(12061): 	at iy.run(:com.google.android.gms.dynamite_measurementdynamite@[email protected] (100700-0):5)

It is benign and should be ignored as such which is confirmed in the original firebase-android-sdk issue.

@firebase firebase locked and limited conversation to collaborators Nov 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked: firebase-sdk impact: crowd Affects many people, though not necessarily a specific customer with an assigned label. (P2) plugin: analytics plugin: core type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests