Skip to content

Failed to extract manifest from APK // aapt.EXE stop working. #50677

Description

@openclues

I installed flutter and dart then tried to test the default app of flutter on web and it worked well. Then tried to test the app on my own phone i get that error :

windows [Version 10.0.17763.1039]
(c) 2018 Microsoft Corporation. All rights reserved.

D:\tests\flutter_appd>flutter run
Launching lib\main.dart on STK LX1 in debug mode...
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 117.9s
√ Built build\app\outputs\apk\debug\app-debug.apk.

After this step i got a message saying that " aapt.EXE stop working "
then

Failed to extract manifest from APK: ProcessException: The
command failed
Command: C:\Users\User\AppData\Local\Android\sdk\build-t
ools\28.0.3\aapt dump xmltree
D:\tests\flutter_appd\build\app\outputs\apk\app.apk AndroidManifest.xml.
Problem building Android application: see above error(s).

thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions