Skip to content
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

Application wont launch/build hangs on gradle build forever #51549

Closed
NO-ob opened this issue Feb 27, 2020 · 8 comments
Closed

Application wont launch/build hangs on gradle build forever #51549

NO-ob opened this issue Feb 27, 2020 · 8 comments
Labels
in triage Presently being triaged by the triage team

Comments

@NO-ob
Copy link

NO-ob commented Feb 27, 2020

The issue seems to be the xml library. If I use the xml library or another lib that depends on the xml library it just hangs forever.

#51158 Steps to Reproduce

  1. Import xml.dart or xml2json.dart
  2. Use functions from them
  3. flutter run -v
  4. hangs forever
  5. Also hangs when using the play button in android studio

Expected results: Output showing the app is being built and then launching in the emulator

Actual results:

[   +3 ms] executing: [/home/kannalo/AndroidStudioProjects/lolisnatcher_droid/android/] /home/kannalo/AndroidStudioProjects/lolisnatcher_droid/android/gradlew
-Pverbose=true -Ptarget=/home/kannalo/AndroidStudioProjects/lolisnatcher_droid/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-x86 assembleDebug
Logs
 [kannalo@loliBox lolisnatcher_droid]$ ~/Android/flutter/bin/flutter run --verbose
[  +21 ms] executing: [/home/kannalo/Android/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +31 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 0b8abb4724aa590dd0f429683339b1e045a1594d
[        ] executing: [/home/kannalo/Android/flutter/] git describe --match v*.*.* --first-parent --long --tags
[   +8 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.8-0-g0b8abb472
[   +6 ms] executing: [/home/kannalo/Android/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/kannalo/Android/flutter/] git ls-remote --get-url origin
[   +7 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +41 ms] executing: [/home/kannalo/Android/flutter/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +78 ms] executing: /home/kannalo/Android/Sdk/platform-tools/adb devices -l
[  +12 ms] Exit code 0 from: /home/kannalo/Android/Sdk/platform-tools/adb devices -l
[        ] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[  +19 ms] /home/kannalo/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +47 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +8 ms] Running "flutter pub get" in lolisnatcher_droid...
[   +4 ms] executing: [/home/kannalo/AndroidStudioProjects/lolisnatcher_droid/] /home/kannalo/Android/flutter/bin/cache/dart-sdk/bin/pub --verbose get --no-precompile
[ +116 ms] FINE: Pub 2.7.0
[  +78 ms] MSG : Resolving dependencies...
[   +6 ms] SLVR: fact: lolisnatcher_droid is 1.0.0+1
[   +3 ms] SLVR: derived: lolisnatcher_droid
[  +16 ms] SLVR: fact: lolisnatcher_droid depends on flutter any from sdk
[        ] SLVR: fact: lolisnatcher_droid depends on cupertino_icons ^0.1.2
[        ] SLVR: fact: lolisnatcher_droid depends on http ^0.12.0+4
[        ] SLVR: fact: lolisnatcher_droid depends on xml2json ^4.1.1
[ +181 ms] MSG : Got dependencies!
[  +27 ms] SLVR: fact: lolisnatcher_droid depends on xml ^3.5.0
[        ] SLVR: fact: lolisnatcher_droid depends on flutter_test any from sdk
[        ] SLVR:   selecting lolisnatcher_droid
[        ] SLVR:   derived: flutter_test any from sdk
[        ] SLVR:   derived: xml ^3.5.0
[        ] SLVR:   derived: xml2json ^4.1.1
[        ] SLVR:   derived: http ^0.12.0+4
[        ] SLVR:   derived: cupertino_icons ^0.1.2
[        ] SLVR:   derived: flutter any from sdk
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on flutter any from sdk
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on test_api 0.2.11
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on path 1.6.4
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on image 2.1.4
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on quiver 2.0.5
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.9.3
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on vector_math 2.0.8
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on archive 2.0.11
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on args 1.5.2
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on async 2.4.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on boolean_selector 1.0.5
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on charcode 1.1.2
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on collection 1.14.11
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on convert 2.1.1
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on crypto 2.1.3
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.6
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on meta 1.1.8
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on pedantic 1.8.0+1
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on petitparser 2.4.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on source_span 1.5.5
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.0.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.0.5
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on typed_data 1.1.6
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on xml 3.5.0
[        ] SLVR:     selecting flutter_test 0.0.0 from sdk
[        ] SLVR:     derived: xml 3.5.0
[        ] SLVR:     derived: typed_data 1.1.6
[        ] SLVR:     derived: term_glyph 1.1.0
[        ] SLVR:     derived: string_scanner 1.0.5
[        ] SLVR:     derived: stream_channel 2.0.0
[        ] SLVR:     derived: source_span 1.5.5
[        ] SLVR:     derived: petitparser 2.4.0
[        ] SLVR:     derived: pedantic 1.8.0+1
[        ] SLVR:     derived: meta 1.1.8
[        ] SLVR:     derived: matcher 0.12.6
[        ] SLVR:     derived: crypto 2.1.3
[        ] SLVR:     derived: convert 2.1.1
[        ] SLVR:     derived: collection 1.14.11
[        ] SLVR:     derived: charcode 1.1.2
[        ] SLVR:     derived: boolean_selector 1.0.5
[        ] SLVR:     derived: async 2.4.0
[        ] SLVR:     derived: args 1.5.2
[        ] SLVR:     derived: archive 2.0.11
[        ] SLVR:     derived: vector_math 2.0.8
[        ] SLVR:     derived: stack_trace 1.9.3
[        ] SLVR:     derived: quiver 2.0.5
[        ] SLVR:     derived: image 2.1.4
[        ] SLVR:     derived: path 1.6.4
[        ] SLVR:     derived: test_api 0.2.11
[        ] SLVR:     fact: xml 3.5.0 depends on petitparser ^2.3.0
[        ] SLVR:     fact: xml 3.5.0 depends on collection ^1.14.0
[        ] SLVR:     fact: xml 3.5.0 depends on convert ^2.1.0
[        ] SLVR:       selecting xml 3.5.0
[        ] SLVR:       fact: xml2json 4.1.1 depends on xml ^3.0.0
[        ] SLVR:         selecting xml2json 4.1.1
[        ] SLVR:         fact: http 0.12.0+4 depends on async >=1.10.0 <3.0.0
[        ] SLVR:         fact: http 0.12.0+4 depends on http_parser >=0.0.1 <4.0.0
[        ] SLVR:         fact: http 0.12.0+4 depends on path >=0.9.0 <2.0.0
[        ] SLVR:         fact: http 0.12.0+4 depends on pedantic ^1.0.0
[        ] SLVR:           selecting http 0.12.0+4
[        ] SLVR:           derived: http_parser >=0.0.1 <4.0.0
[        ] SLVR:             selecting cupertino_icons 0.1.3
[        ] SLVR:             fact: flutter 0.0.0 from sdk depends on collection 1.14.11
[        ] SLVR:             fact: flutter 0.0.0 from sdk depends on meta 1.1.8
[        ] SLVR:             fact: flutter 0.0.0 from sdk depends on typed_data 1.1.6
[        ] SLVR:             fact: flutter 0.0.0 from sdk depends on vector_math 2.0.8
[        ] SLVR:             fact: flutter 0.0.0 from sdk depends on sky_engine any from sdk
[        ] SLVR:               selecting flutter 0.0.0 from sdk
[        ] SLVR:               derived: sky_engine any from sdk
[        ] SLVR:                 selecting typed_data 1.1.6
[        ] SLVR:                   selecting term_glyph 1.1.0
[        ] SLVR:                   fact: string_scanner 1.0.5 depends on charcode ^1.1.0
[        ] SLVR:                   fact: string_scanner 1.0.5 depends on meta ^1.1.0
[        ] SLVR:                   fact: string_scanner 1.0.5 depends on source_span ^1.4.0
[        ] SLVR:                     selecting string_scanner 1.0.5
[        ] SLVR:                     fact: stream_channel 2.0.0 depends on async >=1.11.0 <3.0.0
[        ] SLVR:                       selecting stream_channel 2.0.0
[        ] SLVR:                       fact: source_span 1.5.5 depends on charcode ^1.0.0
[        ] SLVR:                       fact: source_span 1.5.5 depends on path ^1.2.0
[        ] SLVR:                       fact: source_span 1.5.5 depends on term_glyph ^1.0.0
[        ] SLVR:                         selecting source_span 1.5.5
[        ] SLVR:                         fact: petitparser 2.4.0 depends on meta ^1.1.0
[        ] SLVR:                           selecting petitparser 2.4.0
[        ] SLVR:                             selecting pedantic 1.8.0+1
[        ] SLVR:                               selecting meta 1.1.8
[        ] SLVR:                               fact: matcher 0.12.6 depends on stack_trace ^1.2.0
[        ] SLVR:                                 selecting matcher 0.12.6
[        ] SLVR:                                 fact: crypto 2.1.3 depends on collection ^1.0.0
[        ] SLVR:                                 fact: crypto 2.1.3 depends on convert >=1.0.0 <3.0.0
[        ] SLVR:                                 fact: crypto 2.1.3 depends on typed_data ^1.0.0
[        ] SLVR:                                   selecting crypto 2.1.3
[        ] SLVR:                                   fact: convert 2.1.1 depends on charcode ^1.1.0
[        ] SLVR:                                   fact: convert 2.1.1 depends on typed_data ^1.1.0
[        ] SLVR:                                     selecting convert 2.1.1
[        ] SLVR:                                       selecting collection 1.14.11
[        ] SLVR:                                         selecting charcode 1.1.2
[        ] SLVR:                                         fact: boolean_selector 1.0.5 depends on source_span ^1.0.0
[        ] SLVR:                                         fact: boolean_selector 1.0.5 depends on string_scanner >=0.1.1 <2.0.0
[        ] SLVR:                                           selecting boolean_selector 1.0.5
[        ] SLVR:                                           fact: async 2.4.0 depends on collection ^1.5.0
[        ] SLVR:                                             selecting async 2.4.0
[        ] SLVR:                                               selecting args 1.5.2
[        ] SLVR:                                               fact: archive 2.0.11 depends on crypto ^2.0.0
[        ] SLVR:                                               fact: archive 2.0.11 depends on args ^1.4.0
[        ] SLVR:                                               fact: archive 2.0.11 depends on path ^1.5.1
[        ] SLVR:                                                 selecting archive 2.0.11
[        ] SLVR:                                                   selecting vector_math 2.0.8
[        ] SLVR:                                                   fact: stack_trace 1.9.3 depends on path ^1.2.0
[        ] SLVR:                                                     selecting stack_trace 1.9.3
[        ] SLVR:                                                     fact: quiver 2.0.5 depends on matcher >=0.10.0 <0.13.0
[        ] SLVR:                                                     fact: quiver 2.0.5 depends on meta ^1.0.0
[        ] SLVR:                                                       selecting quiver 2.0.5
[        ] SLVR:                                                       fact: image 2.1.4 depends on archive >=1.0.16 <3.0.0
[        ] SLVR:                                                       fact: image 2.1.4 depends on xml ^3.2.5
[        ] SLVR:                                                         selecting image 2.1.4
[        ] SLVR:                                                           selecting path 1.6.4
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on async ^2.0.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on boolean_selector ^1.0.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on collection ^1.8.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on meta ^1.1.5
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on path ^1.2.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on pedantic ^1.0.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on source_span ^1.4.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on stack_trace ^1.9.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on stream_channel >=1.7.0 <3.0.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on string_scanner ^1.0.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on term_glyph ^1.0.0
[        ] SLVR:                                                           fact: test_api 0.2.11 depends on matcher >=0.12.6 <0.12.7
[        ] SLVR:                                                             selecting test_api 0.2.11
[        ] SLVR:                                                             fact: http_parser 3.1.3 depends on charcode ^1.1.0
[        ] SLVR:                                                             fact: http_parser 3.1.3 depends on collection >=0.9.1 <2.0.0
[        ] SLVR:                                                             fact: http_parser 3.1.3 depends on source_span ^1.0.0
[        ] SLVR:                                                             fact: http_parser 3.1.3 depends on string_scanner >=0.0.0 <2.0.0
[        ] SLVR:                                                             fact: http_parser 3.1.3 depends on typed_data ^1.1.0
[        ] SLVR:                                                               selecting http_parser 3.1.3
[        ] SLVR:                                                                 selecting sky_engine 0.0.99 from sdk
[        ] SLVR: Version solving took 0:00:00.163385 seconds.
[        ]     | Tried 1 solutions.
[        ] FINE: Resolving dependencies finished (0.169s).
[        ] IO  : Writing 4815 characters to text file ./pubspec.lock.
[        ] FINE: Contents:
[        ]     | # Generated by pub
[        ]     | # See https://dart.dev/tools/pub/glossary#lockfile
[        ]     | packages:
[        ]     |   archive:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: archive
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.11"
[        ]     |   args:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: args
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.5.2"
[        ]     |   async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.4.0"
[        ]     |   boolean_selector:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: boolean_selector
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.5"
[        ]     |   charcode:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: charcode
[   +2 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.2"
[        ]     |   collection:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: collection
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.14.11"
[        ]     |   convert:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: convert
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.1"
[        ]     |   crypto:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: crypto
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.3"
[        ]     |   cupertino_icons:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: cupertino_icons
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.1.3"
[        ]     |   flutter:
[        ]     |     dependency: "direct main"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   flutter_test:
[        ]     |     dependency: "direct dev"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   http:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: http
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.0+4"
[        ]     |   http_parser:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: http_parser
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "3.1.3"
[        ]     |   image:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: image
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.4"
[        ]     |   matcher:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: matcher
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.6"
[        ]     |   meta:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: meta
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.8"
[        ]     |   path:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.6.4"
[        ]     |   pedantic:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: pedantic
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.0+1"
[        ]     |   petitparser:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: petitparser
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.4.0"
[        ]     |   quiver:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: quiver
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.5"
[        ]     |   sky_engine:
[        ]     |     dependency: transitive
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.99"
[        ]     |   source_span:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: source_span
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.5.5"
[        ]     |   stack_trace:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stack_trace
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.9.3"
[        ]     |   stream_channel:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stream_channel
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   string_scanner:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: string_scanner
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.5"
[        ]     |   term_glyph:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: term_glyph
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   test_api:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: test_api
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.2.11"
[        ]     |   typed_data:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: typed_data
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.6"
[        ]     |   vector_math:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: vector_math
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.8"
[        ]     |   xml:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: xml
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "3.5.0"
[        ]     |   xml2json:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: xml2json
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "4.1.1"
[        ]     | sdks:
[        ]     |   dart: ">=2.4.0 <3.0.0"
[        ] IO  : Writing 2714 characters to text file ./.packages.
[        ] FINE: Contents:
[        ]     | # Generated by pub on 2020-02-26 17:40:54.355096.
[        ]     | archive:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/
[        ]     | args:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/
[        ]     | async:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/
[        ]     | boolean_selector:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5/lib/
[        ]     | charcode:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/
[        ]     | collection:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/
[        ]     | convert:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
[        ]     | crypto:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.3/lib/
[        ]     | cupertino_icons:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3/lib/
[        ]     | flutter:file:///home/kannalo/Android/flutter/packages/flutter/lib/
[        ]     | flutter_test:file:///home/kannalo/Android/flutter/packages/flutter_test/lib/
[        ]     | http:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+4/lib/
[        ]     | http_parser:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3/lib/
[        ]     | image:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/image-2.1.4/lib/
[        ]     | matcher:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6/lib/
[        ]     | meta:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8/lib/
[        ]     | path:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/path-1.6.4/lib/
[        ]     | pedantic:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1/lib/
[        ]     | petitparser:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0/lib/
[        ]     | quiver:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.5/lib/
[        ]     | sky_engine:file:///home/kannalo/Android/flutter/bin/cache/pkg/sky_engine/lib/
[        ]     | source_span:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5/lib/
[        ]     | stack_trace:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
[        ]     | stream_channel:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/
[        ]     | string_scanner:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5/lib/
[        ]     | term_glyph:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
[        ]     | test_api:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.11/lib/
[        ]     | typed_data:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
[        ]     | vector_math:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
[        ]     | xml:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/xml-3.5.0/lib/
[        ]     | xml2json:file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/xml2json-4.1.1/lib/
[        ]     | lolisnatcher_droid:lib/
[        ] IO  : Writing 6144 characters to text file ./.dart_tool/package_config.json.
[        ] FINE: Contents:
[        ]     | {
[        ]     |   "configVersion": 2,
[        ]     |   "packages": [
[        ]     |     {
[        ]     |       "name": "archive",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "args",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/args-1.5.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "async",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/async-2.4.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "boolean_selector",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "charcode",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "collection",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "convert",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.17"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "crypto",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.3",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.1"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "cupertino_icons",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter",
[        ]     |       "rootUri": "file:///home/kannalo/Android/flutter/packages/flutter",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_test",
[        ]     |       "rootUri": "file:///home/kannalo/Android/flutter/packages/flutter_test",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "http",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.4"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "http_parser",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "image",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/image-2.1.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "matcher",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "meta",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/path-1.6.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "pedantic",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.1"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "petitparser",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.4"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "quiver",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "sky_engine",
[        ]     |       "rootUri": "file:///home/kannalo/Android/flutter/bin/cache/pkg/sky_engine",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.11"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "source_span",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.8"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stack_trace",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.23"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stream_channel",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "string_scanner",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "term_glyph",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.8"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "test_api",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.11",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "typed_data",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "vector_math",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "xml",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/xml-3.5.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.3"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "xml2json",
[        ]     |       "rootUri": "file:///home/kannalo/.pub-cache/hosted/pub.dartlang.org/xml2json-4.1.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "lolisnatcher_droid",
[        ]     |       "rootUri": "../",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.1"
[        ]     |     }
[        ]     |   ],
[        ]     |   "generated": "2020-02-26T17:40:54.369715Z",
[        ]     |   "generator": "pub",
[        ]     |   "generatorVersion": "2.7.0"
[        ]     | }
[  +29 ms] Running "flutter pub get" in lolisnatcher_droid... (completed in 0.5s)
[ +137 ms] Generating /home/kannalo/AndroidStudioProjects/lolisnatcher_droid/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +17 ms] ro.hardware = ranchu
[  +17 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
[  +16 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[  +11 ms] executing: /home/kannalo/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +95 ms] Exit code 0 from: /home/kannalo/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           02-26 17:40:42.508 E/GnssHAL_GnssInterface( 1797): gnssSvStatusCb: b: input svInfo.flags is 8
[  +14 ms] executing: /home/kannalo/Android/Sdk/platform-tools/adb version
[   +1 ms] executing: /home/kannalo/Android/Sdk/platform-tools/adb -s emulator-5554 logcat -v time -T 02-26 17:40:42.508
[  +33 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as /home/kannalo/Android/Sdk/platform-tools/adb
[   +4 ms] executing: /home/kannalo/Android/Sdk/platform-tools/adb start-server
[  +11 ms] Building APK
[  +19 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +4 ms] Using gradle from /home/kannalo/AndroidStudioProjects/lolisnatcher_droid/android/gradlew.
[   +8 ms] executing: /opt/android-studio/jre/bin/java -version
[  +48 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[   +3 ms] executing: [/home/kannalo/AndroidStudioProjects/lolisnatcher_droid/android/] /home/kannalo/AndroidStudioProjects/lolisnatcher_droid/android/gradlew
-Pverbose=true -Ptarget=/home/kannalo/AndroidStudioProjects/lolisnatcher_droid/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-x86 assembleDebug
[kannalo@loliBox lolisnatcher_droid]$ ~/Android/flutter/bin/flutter analyze
Analyzing lolisnatcher_droid...                                         

   info • The declaration '_getItems' isn't referenced • lib/libBooru/BooruHandler.dart:6:8 • unused_element
   info • This function has a return type of 'List', but doesn't end with a return statement • lib/libBooru/BooruHandler.dart:6:8 • missing_return
   info • Unused import: 'package:xml/xml.dart' • lib/libBooru/GelbooruHandler.dart:3:8 • unused_import
   info • Unused import: 'BooruItem.dart' • lib/libBooru/GelbooruHandler.dart:9:8 • unused_import
   info • Name non-constant identifiers using lowerCamelCase • lib/libBooru/GelbooruHandler.dart:16:10 • non_constant_identifier_names
   info • The declaration '_getItems' isn't referenced • lib/libBooru/GelbooruHandler.dart:28:8 • unused_element
   info • The declaration '_getFileURL' isn't referenced • lib/libBooru/GelbooruHandler.dart:29:10 • unused_element
   info • This function has a return type of 'String', but doesn't end with a return statement • lib/libBooru/GelbooruHandler.dart:29:10 • missing_return
   info • The declaration '_getSampleURL' isn't referenced • lib/libBooru/GelbooruHandler.dart:30:10 • unused_element
   info • This function has a return type of 'String', but doesn't end with a return statement • lib/libBooru/GelbooruHandler.dart:30:10 • missing_return
   info • The declaration '_getThumbnailURL' isn't referenced • lib/libBooru/GelbooruHandler.dart:31:10 • unused_element
   info • This function has a return type of 'String', but doesn't end with a return statement • lib/libBooru/GelbooruHandler.dart:31:10 • missing_return
   info • The declaration '_getTags' isn't referenced • lib/libBooru/GelbooruHandler.dart:32:10 • unused_element
   info • This function has a return type of 'String', but doesn't end with a return statement • lib/libBooru/GelbooruHandler.dart:32:10 • missing_return
   info • The declaration '_getPostURL' isn't referenced • lib/libBooru/GelbooruHandler.dart:33:10 • unused_element
   info • This function has a return type of 'String', but doesn't end with a return statement • lib/libBooru/GelbooruHandler.dart:33:10 • missing_return

[kannalo@loliBox lolisnatcher_droid]$ ~/Android/flutter/bin/flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8)
    • Flutter version 1.12.13+hotfix.8 at /home/kannalo/Android/flutter
    • Framework revision 0b8abb4724 (2 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/kannalo/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /home/kannalo/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Android Studio (version 3.6)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 43.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at /opt/intellij-idea-ultimate-edition
    • Flutter plugin version 43.0.3
    • Dart plugin version 193.6015.53

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!
[kannalo@loliBox lolisnatcher_droid]$ 

@TahaTesser
Copy link
Member

Hi @NO-ob
i'm not sure if what you are describing is an issue with Flutter itself or if you are asking for assistance within your code.
For issue related to the 3rd party plugin xml you may want to open an issue in the dedicated github.

If you believe that the issue is within flutter framework (Image.Network) please provide a minimal code sample (not production code) to reproduce the issue?
Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 27, 2020
@NO-ob
Copy link
Author

NO-ob commented Feb 27, 2020

I'm not sure if the issue is with flutter the library or gradle, I dont think its the code making it not work as i've tried both the xml example and the xml2json example and neither of them work.Even if i use something simple like just creating and instance of an object from one of the libraries it stops working. I dont think gradle even starts building since there is no output indicating it is doing anything

One of the things I get is:


So, because lolisnatcher_droid depends on flutter_test any from sdk, version solving failed.
pub get failed (1; So, because lolisnatcher_droid depends on flutter_test any from sdk, version solving failed.)```

So I have to set the xml library to an older version in my pubspec so that could be what is causing the issues 

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 27, 2020
@VladyslavBondarenko
Copy link

@NO-ob
I tried this code

code
import 'package:xml2json/xml2json.dart';
import 'package:xml/xml.dart' as xml;

void main() {
  var bookshelfXml = '''<?xml version="1.0"?>
    <bookshelf>
      <book>
        <title lang="english">Growing a Language</title>
        <price>29.99</price>
      </book>
      <book>
        <title lang="english">Learning XML</title>
        <price>39.95</price>
      </book>
      <price>132.00</price>
    </bookshelf>''';
  var document = xml.parse(bookshelfXml);
  print(document.toXmlString(pretty: true, indent: '\t'));

  final Xml2Json myTransformer = Xml2Json();
  myTransformer.parse(bookshelfXml);
  var json = myTransformer.toParker();
  print(json);
}

with stable v1.12.13+hotfix.8 with Android 10 (API 29) (emulator)

xml: ^3.5.0
xml2json: ^4.1.1

it's builded and working as intended

@VladyslavBondarenko VladyslavBondarenko added the in triage Presently being triaged by the triage team label Feb 27, 2020
@VladyslavBondarenko
Copy link

@NO-ob
can you run your app with xml: ^3.5.0 instead of 3.7.0?

@VladyslavBondarenko VladyslavBondarenko added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 27, 2020
@NO-ob
Copy link
Author

NO-ob commented Feb 27, 2020

I was running with ^3.5.0 i just posted that above incase 3.5.0 is what was causing issues. I made a new project and pasted your code in and added those deps to pubspec and it still just hangs on the gradle build. I have no idea whats going on

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 27, 2020
@VladyslavBondarenko
Copy link

@NO-ob
I tried with new project, indeed it's hanging with xml: ^3.5.0.

But it's worked before for me because I tried with 1 instead of 2 in AndroidManifest.xml

<meta-data
            android:name="flutterEmbedding"
            android:value="1" />
and such MainActivity.kt
package com.example.bug

import android.os.Bundle

import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        GeneratedPluginRegistrant.registerWith(this)
    }
}

To use xml: ^3.7.0 I commented flutter_test dependency (because flutter_test from sdk uses xml: ^3.5.0 and leads to conflict), and with default flutter create project it's working, without hanging on building. This plugin is updated.

So if you're not using tests, better use 3.7.0.

But if you use tests, you can try 3.5.0 with mentioned above workaround. But it's not really good idea, you can face with conflicts with other plugins.

In any case flutter_test needs to be updated to use the last xml version

@VladyslavBondarenko
Copy link

@NO-ob
Please follow on #51582
Closing current issue,
if you disagree please write in the comments and I will reopen it.
Thank you

@github-actions
Copy link

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 flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team
Projects
None yet
Development

No branches or pull requests

3 participants