-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
[flutter 1.20] Unsupported operation: serialization of generic DartType: UnknownType(?) (UnknownType) #63038
Comments
dart-lang/sdk#42615 |
Flutter doctor
MacBook Pro 2020 |
try |
Also facing issue after I upgrade flutter to 1.20.0
Flutter Doctor
|
doesn't work. |
me too |
I also have the problem, after upgrading the flutter. |
facing same problem in android phones after upgrading flutter version to 1.20.0 |
try installing this packages https://pub.dev/packages/characters. |
getting the same error after upgrading to 1.20
|
same error: Error: Type 'DiagnosticableMixin' not found. |
Hi @Mecheka |
Sadly this does also not work. I'm downgrading for now. |
If you are using flutter_svg, Please update the package to flutter_svg 0.18.0. That fixed my issue. |
The same things happened to me. I just run command |
logs
|
/cc @a-siva seeing this issue on 1.20, can you take a look? |
I have solved my issue, thanks for the help guys.
Sadly I only did all the steps, so I can't say 100 % if it was the single package incompatibility. But in general I missed out on the good practice to upgrade my outdated packages. |
same issue: logs
|
upgrade flutter_svg: ^0.18.0 then build success |
frend @Morena96 cupertino_icons: ^0.1.2 |
|
Thanks @Shiba-Kar but and if I need this package, how would I do in that case? |
Just check does that works and after you can report to the respective package maintainer.The culprit is one of the package and there depended packages. |
I have these packages(i have tried upgrading to last versions): cupertino_icons: ^0.1.3 #FIREBASE |
Maybe this is related with this issues too... |
same problem here ... |
Same problem here, after I removed the package |
for me, the error was caused by the flutter_svg... even though the project doesn't have this package... one of the packages uses it as a dependency. so adding |
This error was fixed by this commit in the Dart repo dart-lang/sdk@ac4de98 |
@OllyDixon This change in the podfile was made to support plugins that do not support the iOS platform. You can follow the problem here #45197 and I recommend you just generate a new podfile and copy your modifications there, this is what I did and had no problems. By the way, this is not the problem with this issue and flutter is on constant evolution. |
@thoffart "This change in the PodFile was made to support plugins that do not support the iOS platform" What does that even mean? 99.9% of the developers using PodFile on Flutter are developing for iOS... All this change did was cost us developers days and thousands of dollars. Some flutter packages have not been updated in years, what are we supposed to do there? Some of them are key and commonly used packages. We actually tried that, we regenerated the PodFile and tried to put back in the custom code throughout 31 apps that we manage and maintain. No luck, we can't update :-/ sucks. |
@OllyDixon you can open a new Issue to address that, I believe that just saying that |
@OllyDixon umm... I think you are exaggerating the problem. I mean, you can do the downgrade into 1.17 for now, and waiting for the next update. Be patience, be smart. |
@illukinati @thoffart fair enough I'm just frustrated when I see X framework become popular over the last decade to be ruined every time by over-engineering. |
@OllyDixon I can say Flutter won't be the same like React-Native. Trust me, it will be getting better. For now, my best advice is just waiting, do the downgrade and you won't face any problem. |
Agreed 1000x |
this issue was fixed in dart-lang/sdk#42615 and will be cherrypicked, so marking it as closed |
I have same issue but, I resolved with is work for me |
to anyone coming here the issue has been fixed https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
i updated my flutter project to version 1.20.0
i can't run my application
The text was updated successfully, but these errors were encountered: