Open vsnappy1 opened 3 years ago
This error occurs when
stripe_payment: ^1.0.7 & flutter_barcode_scanner: ^1.0.1 both are present in pubspec.yaml
if i remove any one of them error disappears
In case you are still there..
credits to fabioselau077
PS D:\Projects\FrelanceWork\iMenuStripe\iMenu> flutter run element at AndroidManifest.xml:8:5-51:19 to override.
Launching lib\main.dart on SM G610F in debug mode... Running Gradle task 'assembleDebug'...
D:\Projects\FrelanceWork\iMenuStripe\iMenu\android\app\src\debug\AndroidManifest.xml:17:9-59 Error: Attribute application@theme value=(@style/Theme.AppCompat.NoActionBar) from [:flutter_barcode_scanner] AndroidManifest.xml:17:9-59
is also present at [:stripe_payment] AndroidManifest.xml:11:18-74 value=(@style/Theme.AppCompat.Light.NoActionBar). Suggestion: add 'tools:replace="android:theme"' to
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugManifest'.
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 2m 1s Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 123.0s (!) Exception: Gradle task assembleDebug failed with exit code 1 PS D:\Projects\FrelanceWork\iMenuStripe\iMenu>