-
Notifications
You must be signed in to change notification settings - Fork 23
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
Native method - jdk.internal.misc.Unsafe.park #59
Comments
Thank you for reaching out. Are you maybe able to reproduce the behavior on your end? |
@mparadina I tried to run the sample app on Android 14, but I didn't manage to reproduce this issue. On the other hand, I am seeing a lot of different exceptions:
|
@mparadina We actually managed to see similar logs while testing the sample app on a physical device (Moto G13, Android 13):
|
Thank you for testing out the sample application! From what I can see from the provided logs, the issue might be with the camera management on the Android device.
This code needs to be placed in the native Java code in the following path in the sample application, below line 23: You can also find it more easily if you're using Android Studio directly. |
@mparadina This change appears to have resolved the issue. I'll incorporate this change into my code and continue to monitor its performance in production. Thank you for your assistance |
@radivojeostojic glad to hear that the provided solution helped! Even though it did help, we only recommend applying this camera API setting to certain devices with which you are experiencing this issue, as it can affect the overall SDK performance with devices that have the newer camera API implemented. For future releases, we can expose this setting in the |
I have been encountering frequent ANR (Application Not Responding) issues over the past several days on the Google Console:
plugin version: 6.1.2
Flutter doctor:
The text was updated successfully, but these errors were encountered: