Git Product home page Git Product logo

Comments (19)

stevenspiel avatar stevenspiel commented on September 25, 2024 2

I'm also getting this.

Flutter 1.20.1
Upgrader 2.4.0

Edit

Downgrading to 2.2.0 fixed the issue (make sure it's 2.2.0 and not ^2.2.0)

from upgrader.

mystarhub avatar mystarhub commented on September 25, 2024 1

Yes, I ran the pub get both in VS Code and also in terminal and both were successful.
If it helps, the error comes on the moment i add "import 'package:upgrader/upgrader.dart';" to my dart file.

from upgrader.

nguyenhuutinh avatar nguyenhuutinh commented on September 25, 2024 1

downgrade to 2.2.0 first

from upgrader.

fzyzcjy avatar fzyzcjy commented on September 25, 2024 1

@fzyzcjy stable

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

Which version of Flutter are you using?

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

Are you sure the command flutter pub get completed properly?

from upgrader.

gustavobrian avatar gustavobrian commented on September 25, 2024

hi, solutions?

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

Sorry for this XML issue. I'm sure it is related to this change in 2.4.0:
Updated the Appcast class to support a newer version of the Xml package.
I'm working on a fix.

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

The example works for me and I am using:

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.0, on Mac OS X 10.15.5 19F101, locale en-US)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.47.1)
[✓] Connected device (2 available)

• No issues found!

In my pubspec.lock file, I see version 4.2.0 for xml:

  xml:
    dependency: transitive
    description:
      name: xml
      url: "https://pub.dartlang.org"
    source: hosted
    version: "4.2.0"

What version of xml do you have in your pubspec.lock file?

from upgrader.

bereanu99 avatar bereanu99 commented on September 25, 2024

The same issue here
upgrader: ^2.1.0 to upgrader: ^2.4.0
Flutter version 1.17.0-4.0.pre.9

from upgrader.

m-farrokh avatar m-farrokh commented on September 25, 2024

Hi dude
Just upgrade your flutter to latest stable version and do a pub get, then everything will work

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

Using upgrader 2.5.0 and xml 4.2.x will work with Flutter 1.20.x.

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

@bereanu99 @stevenspiel @mystarhub Any more issues?

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

Closing this as a stale issue. If you see it now, please open a new one. Thanks.

from upgrader.

abdulrojak288 avatar abdulrojak288 commented on September 25, 2024

Menggunakan upgrader 2.5.0 dan xml 4.2.x akan bekerja dengan Flutter 1.20.x.

I'm using flutter channel master and upgrader: ^ 2.7.3 has the same problem. do you have a solution?

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

@abdulrojak288 What errors do you see?

from upgrader.

fzyzcjy avatar fzyzcjy commented on September 25, 2024

This works for me with latest flutter

  upgrader: ^2.7.3
  xml: ^4.5.1

from upgrader.

larryaasen avatar larryaasen commented on September 25, 2024

@fzyzcjy Glad it works. Which flutter channel?

from upgrader.

tj4702 avatar tj4702 commented on September 25, 2024

my error is that I am using upgrader for the automatic update of play store and I cannot delete the import but I am still getting the same issue.
Thank you for your help.

from upgrader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.