Occasional crash on Pixel 5 Android 13
See original GitHub issueIntegrate with: implementation("io.github.g00fy2.quickie:quickie-bundled:1.5.1")
Crash log:
Fatal Exception: java.lang.IllegalStateException: MlKitContext has not been initialized
at com.google.android.gms.common.internal.Preconditions.checkState(com.google.android.gms:play-services-basement@@18.1.0:2)
at com.google.mlkit.common.sdkinternal.MlKitContext.getInstance(com.google.mlkit:common@@18.5.0:1)
at com.google.mlkit.vision.barcode.BarcodeScanning.getClient(BarcodeScanning.java:3)
at io.github.g00fy2.quickie.QRCodeAnalyzer$barcodeScanner$2.invoke(QRCodeAnalyzer.kt:24)
at io.github.g00fy2.quickie.QRCodeAnalyzer$barcodeScanner$2.invoke(QRCodeAnalyzer.kt:18)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at io.github.g00fy2.quickie.QRCodeAnalyzer.getBarcodeScanner(QRCodeAnalyzer.kt:18)
at io.github.g00fy2.quickie.QRCodeAnalyzer.analyze(QRCodeAnalyzer.kt:42)
at androidx.camera.core.ImageAnalysis$$ExternalSyntheticLambda2.b(R8$$SyntheticClass:3)
at androidx.camera.core.ImageAnalysisAbstractAnalyzer.lambda$analyzeImage$0(ImageAnalysisAbstractAnalyzer.java:285)
at androidx.camera.core.ImageAnalysisAbstractAnalyzer$$InternalSyntheticLambda$8$864b24cc058c102b9ababe9f2eaf5f45916e7a7a0663a2b450741580c02ea23e$0.run(ImageAnalysisAbstractAnalyzer.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Fix a Pixel phone that's restarting or crashing - Google Help
Open your phone's Settings app. · Tap Apps and then See all apps. · Tap the app. · Tap Force stop and then...
Read more >Fix: Games and Apps Crashing or Not Working on Android 13
In most cases, games and app crashing issue is mainly due to random system bugs and can be fixed by simple device restart....
Read more >Google Pixel devices on Android 13 freezing or unresponsive
Some Google Pixel users are facing an issue where their devices are freezing or become unresponsive after the update to Android 13.
Read more >Google fixes 9 Android 13 issues on Pixel with October update
Ahead of new Pixel phones, the Android 13 October update is rolling ... Fix for issue occasionally causing device crash when playing audio...
Read more >Android app crashes since updating to Android 13 - Reddit
This is happening to me on Pixel 5. Just updated to Android 13 yesterday and now everytime the game is open and the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is fixed with f164aa9 (which is included in 1.5.2).
Is it possible for quickie to catch this exception and invoke something like ‘failure callback’ instead?