You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the flutter_downloader package (version 1.11.8) in my Flutter project, the app fails to build. The error occurs during the :app:processDebugMainManifest task, indicating an issue with parsing the AndroidManifest.xml file.
Error Output:
Here is the full error message:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing D:\projects\myproject\android\app\src\main\AndroidManifest.xml
Steps to Reproduce
Add flutter_downloader (version 1.11.8) to your pubspec.yaml.
Configure AndroidManifest.xml as shown below.
Run the app on an Android emulator or device using flutter run.
Observe the build failure.
Relevant Configuration:
Below is my AndroidManifest.xml configuration:
Flutter Doctor Output:
Here is the output from flutter doctor -v:
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.26100.2605], locale en-US)
• Flutter version 3.27.1 on channel stable at D:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (3 weeks ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at C:\Users\azoz1\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.1)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.12.35514.174
• Windows 10 SDK version 10.0.26100.0
[√] Android Studio (version 2024.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
[√] VS Code (version 1.96.2)
• VS Code at C:\Users\azoz1\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.102.0
[√] Connected device (4 available)
• SM G975F (mobile) • R58M37TRL7P • android-arm64 • Android 12 (API 31)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.2605]
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205
• Edge (web) • edge • web-javascript • Microsoft Edge 131.0.2903.112
[√] Network resources
• All expected network resources are available.
• No issues found!
The text was updated successfully, but these errors were encountered:
Description:
When using the flutter_downloader package (version 1.11.8) in my Flutter project, the app fails to build. The error occurs during the :app:processDebugMainManifest task, indicating an issue with parsing the AndroidManifest.xml file.
Error Output:
Here is the full error message:
Steps to Reproduce
Relevant Configuration:
Below is my AndroidManifest.xml configuration:
Flutter Doctor Output:
Here is the output from flutter doctor -v:
The text was updated successfully, but these errors were encountered: