Я пытаюсь добавить уведомления в свое приложение Flutter и внес соответствующие изменения в Androidmanifest.xml для разрешения. Но я получил эту ошибку. Я использую пакет flutter_local_notifications. Я добавил инструменты:replace="android:label, как указано в предыдущей ошибке, но получил эту.
C:\Users\prati\repos\kpop\android\app\src\main\AndroidManifest.xml:9:9-16:11 Error:
tools:replace specified at line:9 for attribute android:label, but no new value specified
C:\Users\prati\repos\kpop\android\app\src\main\AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 11s
Running Gradle task 'assembleDebug'... 12.6s
Error: Gradle task assembleDebug failed with exit code 1
Я ссылался на другие ответы, но получил такие же или большее количество ошибок.
Я пытаюсь добавить уведомления в свое приложение Flutter и внес соответствующие изменения в Androidmanifest.xml для разрешения. Но я получил эту ошибку. Я использую пакет flutter_local_notifications. Я добавил инструменты:replace="android:label, как указано в предыдущей ошибке, но получил эту. [code]
[/code] И вот какую ошибку я получаю [code]C:\Users\prati\repos\kpop\android\app\src\main\AndroidManifest.xml:9:9-16:11 Error: tools:replace specified at line:9 for attribute android:label, but no new value specified C:\Users\prati\repos\kpop\android\app\src\main\AndroidManifest.xml Error: Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':app:processDebugMainManifest'. > Manifest merger failed with multiple errors, see logs
* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 11s Running Gradle task 'assembleDebug'... 12.6s Error: Gradle task assembleDebug failed with exit code 1 [/code] Я ссылался на другие ответы, но получил такие же или большее количество ошибок.