Skip to content

xmltree error in flutter while running the first example app #35537

Closed

Description

@isjain35

Console output:
Launching lib\main.dart on SM J700F in debug mode...
Initializing gradle...
[{"event":"app.progress","params":{"appId":"0aaf5ea6-2d71-4d0a-a009-874607aa24bd","id":"1","progressId":null,"message":"Resolving dependencies..."}}]Resolving dependencies...

W/ziparchive( 1708): Unable to open 'xmltree': No such file or directory

xmltree: error: failed to open file: The system cannot find the file specified. (2).

Finished with error: Exit code 1 from: C:\Users\admin\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree
C:\Users\admin\AndroidStudioProjects\flutter_app1\build\app\outputs\apk\app.apk AndroidManifest.xml
Capture

Activity

  1. bpadhiyar4 commented on Jul 4, 2019

    @bpadhiyar4

    Install the latest Android SDK 29.0 or any latest stable version.
    You have 28.0.3 which is having a problem.

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 4, 2019
  3. zyllus17 commented on Jul 7, 2019

    @zyllus17

    I have 29.0 sdk yet I get this error

    Error message:
    Finished with error: Exit code -1073741701 from: C:/Users/Zyllus/AppData/Local/Android/Sdk\build-tools\29.0.0\aapt dump xmltree E:\Android_Apps\flutter_app\build\app\outputs\apk\app.apk AndroidManifest.xml

    Edit: The issue can be solved by removing SDK. I had multiple SDK installed, remove the SDK mentioned and it will start working

    image

  4. no-response commented on Jul 25, 2019

    @no-response

    Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

  5. WildanThofani commented on Aug 8, 2019

    @WildanThofani

    I have 29.0 sdk yet I get this error

    Error message:
    Finished with error: Exit code -1073741701 from: C:/Users/Zyllus/AppData/Local/Android/Sdk\build-tools\29.0.0\aapt dump xmltree E:\Android_Apps\flutter_app\build\app\outputs\apk\app.apk AndroidManifest.xml

    Edit: The issue can be solved by removing SDK. I had multiple SDK installed, remove the SDK mentioned and it will start working

    image

    thanks, you save me

  6. github-actions commented on Aug 28, 2021

    @github-actions

    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.

  7. locked as resolved and limited conversation to collaborators on Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions