Current Behavior:
An error is displayed when building a new sample flutter app on android device with the package installed.
/sample/android/app/src/debug/AndroidManifest.xml:16:9-36 Error:
Attribute application@allowBackup value=(false) from [com.github.Tap-Payments:Card-Android:0.0.49] AndroidManifest.xml:16:9-36
is also present at [com.hbb20:ccp:2.2.2] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:2:5-32:19 to override.
/sample/android/app/src/debug/AndroidManifest.xml Error:
Attribute application@label value=(sample) from (unknown)
is also present at [com.hbb20:ccp:2.2.2] AndroidManifest.xml:13:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:2:5-32:19 to override.
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 13s
Running Gradle task 'assembleDebug'... 13.9s
Exception: Gradle task assembleDebug failed with exit code 1
Steps To Reproduce:
- Run
flutter create sample
- In the pubspec.yaml add the
card_flutter: ^1.0.3 dependency.
- Run
flutter pub get to install dependencies.
- Run
flutter run
Environment:
- OS: MacOS 11.3
- Dart 3.1.5
- Flutter 3.13.9
- Android 12
Current Behavior:
An error is displayed when building a new sample flutter app on android device with the package installed.
Steps To Reproduce:
flutter create samplecard_flutter: ^1.0.3dependency.flutter pub getto install dependencies.flutter runEnvironment: