Replies: 1 comment
-
Nevermind. I got the same error when I updated flutter locally. Turns out that specifying the flutter version in pubspec.yaml does not matter because it is set in the workflow editor. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
Try to build an Android flutter app on codemagic that uses image_picker or google_sign_in. (maybe more packages, but I stopped after two).
Expected results
The app should build, and it did when I built it last month. It also builds locally.
Actual results
The symbol
PluginRegistry.Registrar
cannot be found. After reading up, I found that google is phasing out this technique, and plugins are being updated. I first got the error onimage_picker.
I got around that by specifying the version forimage_picker_android
and specifying the newest version. That should not be needed, because this version is not even refered to in the most recentimage_picker
package. In pubspec.yaml:This solves the problem with
image_picker
. But now I get the same error on thegoogle_sign_in
package:This makes me think the issue is not a fluke with a single package. Moreover, these are packages that are supported by the flutter team. They are decently up to date. I've tried and checked versions of Dart, Flutter, Java and Gradle, but I cannot find why this goes wrong on codemagic now.
Build id (optional)
67c4c09cd6bc66c046e26b9f
Beta Was this translation helpful? Give feedback.
All reactions