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
`
Execution failed for task ':country_codes:processDebugManifest'.
A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing /Users/gobiganjeyamoorthy/.pub-cache/hosted/pub.dev/country_codes-3.1.0+2/android/src/main/AndroidManifest.xml
`
Steps to Reproduce
Update Gradle to version 8.3.1.
Run the build process for the project.
Observe the error occurring during the :country_codes:processDebugManifest task.
Expected Behavior
The build process should complete successfully without errors.
Observed Behavior
The build fails with the ManifestMerger2$MergeFailureException while parsing the AndroidManifest.xml file for the country_codes package.
Checked for syntax errors in the AndroidManifest.xml file.
Ensured all dependencies are up to date.
Cleaned and rebuilt the project.
Verified correct Gradle and Android Gradle Plugin versions.
Attempted to downgrade Gradle and Android Gradle Plugin to previous working versions.
Additional Context
This issue started occurring after updating Gradle to version 8.x.x. It seems to be related to how Gradle handles the AndroidManifest.xml file parsing in this version. Previous Gradle versions did not produce this error.
Possible Solution
Please provide any known solutions or workarounds for resolving the ManifestMerger2$MergeFailureException when processing the AndroidManifest.xml file for the country_codes package, particularly in the context of using Gradle 8.x.x.
The text was updated successfully, but these errors were encountered:
Error Message:
`
Execution failed for task ':country_codes:processDebugManifest'.
Steps to Reproduce
Expected Behavior
The build process should complete successfully without errors.
Observed Behavior
The build fails with the ManifestMerger2$MergeFailureException while parsing the AndroidManifest.xml file for the country_codes package.
Build Environment
Flutter Version: 3.19.6
Dart Version: 3.3.4
Operating System: macOS
Gradle Version: 8.3.1
Android Gradle Plugin Version:
Country Codes Package Version: 3.1.0
Steps Taken to Troubleshoot
Additional Context
This issue started occurring after updating Gradle to version 8.x.x. It seems to be related to how Gradle handles the AndroidManifest.xml file parsing in this version. Previous Gradle versions did not produce this error.
Possible Solution
Please provide any known solutions or workarounds for resolving the ManifestMerger2$MergeFailureException when processing the AndroidManifest.xml file for the country_codes package, particularly in the context of using Gradle 8.x.x.
The text was updated successfully, but these errors were encountered: