-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
App crashes on android #544
Comments
it was working fine until i upgraded flutter and gradle |
I have same error |
Same Issue found on Nothing 2A Android 14 |
Same here, rollback to 3.24 "fixes" it for now. |
Same here. Downgrading dependency to camera_android_camerax: 0.6.10+1 helps for now |
Any updates on this one? It's very important for android users |
I am working on upgrading all dependencies. |
Same issue , facing force stope on android device |
Ok android works now, I need to finish implementing swift package manager for iOS |
Thanks, but when should we be expecting a plug-in update |
Hello, any timeline on when this will be resolved?, so we can manage people higher up the chain :) |
You can try this @benjamin1571 @DauduVictor @misteloo #547 |
On android I tried to upgrade CameraX but they deprecated to many things recently without any instruction on how to migrate |
Ohh, thanks for the feedback, that simply means it will take a while to fix |
It's all working I have to finish fixing the example and I'll be able to publish the new version |
Steps to Reproduce
Create an app install camerawesome
Expected results
camera is expected to launch
Actual results
app crashes on launch
About your device
Your flutter version
Run this in your command line
Flutter (Channel stable, 3.27.1)
the error i got
D/QuirkSettingsLoader(13845): QuirkSettings$MetadataHolderService is not found.
D/CameraX (13845): QuirkSettings from app metadata: null
D/CameraX (13845): QuirkSettings by default: QuirkSettings{enabledWhenDeviceHasQuirk=true, forceEnabledQuirks=[], forceDisabledQuirks=[]}
I/CameraManagerExtImpl(13845): getInstance success!
I/CameraManagerExtImpl(13845): packagename is com.rekomile.rekomile
I/OplusCameraManager(13845): saveOpPackageName, mOpPackageName: com.rekomile.rekomile
I/OplusCameraManagerGlobal(13845): setClientInfo, packageName: com.rekomile.rekomile, uid: 10444, pid: 13845
I/OplusCameraManagerGlobal(13845): Connecting to camera service
I/CameraManagerGlobal(13845): Connecting to camera service
D/OplusCameraUtils(13845): new OplusCameraUtils!
I/OplusCameraManagerGlobal(13845): setClientInfo, packageName: com.rekomile.rekomile, uid: 10444, pid: 13845
I/OplusCameraManagerGlobal(13845): setClientInfo, packageName: com.rekomile.rekomile, uid: 10444, pid: 13845
I/OplusCameraManagerGlobal(13845): setClientInfo, packageName: com.rekomile.rekomile, uid: 10444, pid: 13845
I/Camera2CameraInfo(13845): Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_FULL
I/OplusCameraManagerGlobal(13845): setClientInfo, packageName: com.rekomile.rekomile, uid: 10444, pid: 13845
I/Camera2CameraInfo(13845): Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_FULL
I/OplusCameraManagerGlobal(13845): setClientInfo, packageName: com.rekomile.rekomile, uid: 10444, pid: 13845
D/BufferQueueConsumer(13845): connect: controlledByApp=true
D/libMEOW (13845): meow new tls: 0xb400007312fb1b80
D/libMEOW (13845): applied 1 plugins for [com.rekomile.rekomile]:
D/libMEOW (13845): plugin 1: [libMEOW_gift.so]: 0xb4000074896fe480
D/libMEOW (13845): rebuild call chain: 0xb40000731380d640
I/flutter (13845): [IMPORTANT:flutter/shell/platform/android/platform_view_android.cc(308)] Flutter recommends migrating plugins that create and register surface textures to the new surface producer API. See https://docs.flutter.dev/release/breaking-changes/android-surface-plugins
I/mali (13845): [DebugProp] GPU Debug-Mechanism Disable !
V/SystemSensorManagerExtImpl(13845): RegisterListener icm4n607 acc type:1 delay:200000us by android.view.OrientationEventListener$SensorEventListenerImpl@baedc9c from com.rekomile.rekomile
E/AndroidRuntime(13845): FATAL EXCEPTION: main
E/AndroidRuntime(13845): Process: com.rekomile.rekomile, PID: 13845
E/AndroidRuntime(13845): java.lang.NoSuchMethodError: No virtual method setCameraSelector(Landroidx/camera/core/CameraSelector;)Landroidx/camera/core/Preview$Builder; in class Landroidx/camera/core/Preview$Builder; or its super classes (declaration of 'androidx.camera.core.Preview$Builder' appears in /data/app/~~1R7NtO1jSLCCL469qGvj6Q==/com.rekomile.rekomile-DdTT9w5qfYVLmSlW2C8jcA==/base.apk)
E/AndroidRuntime(13845): at com.apparence.camerawesome.cameraX.CameraXState.updateLifecycle(CameraXState.kt:202)
E/AndroidRuntime(13845): at com.apparence.camerawesome.cameraX.CameraAwesomeX.setupCamera(CameraAwesomeX.kt:169)
E/AndroidRuntime(13845): at com.apparence.camerawesome.cameraX.CameraInterface$Companion.setUp$lambda$1$lambda$0(Pigeon.kt:834)
E/AndroidRuntime(13845): at com.apparence.camerawesome.cameraX.CameraInterface$Companion.$r8$lambda$bDRy0np_C7lk8Bj7abpR_h2q7QU(Unknown Source:0)
E/AndroidRuntime(13845): at com.apparence.camerawesome.cameraX.CameraInterface$Companion$$ExternalSyntheticLambda0.onMessage(Unknown Source:2)
E/AndroidRuntime(13845): at io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler.onMessage(BasicMessageChannel.java:261)
E/AndroidRuntime(13845): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/AndroidRuntime(13845): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/AndroidRuntime(13845): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/AndroidRuntime(13845): at android.os.Handler.handleCallback(Handler.java:958)
E/AndroidRuntime(13845): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13845): at android.os.Looper.loopOnce(Looper.java:257)
E/AndroidRuntime(13845): at android.os.Looper.loop(Looper.java:368)
E/AndroidRuntime(13845): at android.app.ActivityThread.main(ActivityThread.java:8839)
E/AndroidRuntime(13845): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(13845): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
E/AndroidRuntime(13845): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
The text was updated successfully, but these errors were encountered: