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

Execution failed for task ':app:processDebugMainManifest'. #979

Open
Blackheart8788 opened this issue Nov 13, 2024 · 0 comments
Open

Execution failed for task ':app:processDebugMainManifest'. #979

Blackheart8788 opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Blackheart8788
Copy link

Describe the bug

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing /Users/ferminsalcedo/Projects/Flutter/sdc_mobile/android/app/src/main/AndroidManifest.xml

BUILD FAILED in 4s
Error: Gradle task assembleDebug failed with exit code 1

To Reproduce

Copy in the manifest the following part

    <!-- disable default Initializer -->
    <provider
        android:name="androidx.startup.InitializationProvider"
        android:authorities="${applicationId}.androidx-startup"
        android:exported="false"
        tools:node="merge">
        <meta-data
            android:name="androidx.work.WorkManagerInitializer"
            android:value="androidx.startup"
            tools:node="remove" />
    </provider>

    <!-- declare customized Initializer -->
    <provider
        android:name="vn.hunghd.flutterdownloader.FlutterDownloaderInitializer"
        android:authorities="${applicationId}.flutter-downloader-init"
        android:exported="false">
        <meta-data
            android:name="vn.hunghd.flutterdownloader.MAX_CONCURRENT_TASKS"
            android:value="5" />
    </provider>
    <!-- End FlutterDownloader customization -->

    <meta-data
        android:name="vn.hunghd.flutterdownloader.NOTIFICATION_ICON"
        android:resource="@drawable/ic_stat_flutter" />
@Blackheart8788 Blackheart8788 added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant