Closed anything-good closed 2 months ago
Can you share:
command is :shorebird patch android -v
That looks like a log from a run of a flutter pub
command and not a shorebird
command. The log file name should look like 1725570575883_shorebird.log
, where the number is the timestamp when the command was run.
And the path to this log file will be printed at the end of the failed command output, like so:
If you aren't sure why this command failed, re-run with the --verbose flag to see more information.
You can also file an issue if you think this is a bug. Please include the following log file in your report:
/Users/bryanoltman/Library/Application Support/shorebird/logs/1725570575883_shorebird.log
shorebird_log.txt thanks for your help in advance.
The error appears to be:
[ ] /home/ahmed/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.8+2/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:84: error: cannot find symbol
[ ] new TextureRegistry.SurfaceProducer.Callback() {
[ ] ^
[ ] symbol: class Callback
[ ] location: interface SurfaceProducer
[ ] /home/ahmed/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.8+2/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:85: error: method does not override or implement a method from a supertype
[ ] @Override
[ ] ^
[ ] /home/ahmed/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.8+2/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:91: error: method does not override or implement a method from a supertype
[ ] @Override
[ ] ^
This looks to be an issue with the camera_android_camerax
plugin. I would verify that the version you're using is compatible with your Flutter version.
I don't use this package directly but the camera package is dependent on camera_android_camerax: 6.5 and for some unknown reasons I see that camera_android_camerax-0.6.8+2 is being installed .
and I checked the packages that depends on the camera_android_camerax and it is only the camera package: https://pub.dev/packages?q=dependency%3Acamera_android_camerax.
I am not sure if that is the issue or not but any help will be appreciated.
any updates???
as you can see they drop support for the flutter version I am using witch is 3.22 they only support 3.24 and above
I solved this by add this to my pubspec.yml: camera_android_camerax: 0.6.5
App ID: 46bc1f29-7bd9-4068-96db-49bd43527b2a
Description
I made an android patch and now I can't publish it and I am getting this error.
Steps To Reproduce
create a project with the following dependency and check if you can publish a patch for it compatible with my android release apk.
Expected Behavior
A clear and concise description of what you expected to happen.
Screenshots
none.
Additional Context none. it was working fine untill recently, I think the flutter version I build the apk with is not compatible with my current one. I tried removing the camera dependency from the pubspec.yml and I was able to create the path and publish it but when opening the app it freezes at the splash screen