Execution failed for task ':alipay_kit:processVendorDebugManifest'.
zfha opened this issue · 2 comments
Launching lib/main.dart on VOG AL00 in debug mode...
/Users/zhoufan/flutter/.pub-cache/hosted/pub.flutter-io.cn/alipay_kit-2.0.0/android/src/vendor/AndroidManifest.xml:6:9-63 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:6:9-63
/Users/zhoufan/flutter/.pub-cache/hosted/pub.flutter-io.cn/alipay_kit-2.0.0/android/src/vendor/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':alipay_kit:processVendorDebugManifest'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
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 2s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 2,738ms
Exception: Gradle task assembleDebug failed with exit code 1
请问大神这个问题怎么解决呢, Android build失败, iOS还没测试过
buildscript {
dependencies {
// Android 11兼容,需升级Gradle到3.5.4/3.6.4/4.x.y
classpath 'com.android.tools.build:gradle:3.5.4'
}
}