Android 发现任务';的配置有问题:应用程序:checkDebugManifest';(键入检查清单)
我正在运行我的应用程序,我面临这个问题。目前,我正在谷歌实现颤振登录。 错误附在下面。请调查一下 (一) 运行应用程序时出错为:Android 发现任务';的配置有问题:应用程序:checkDebugManifest';(键入检查清单),android,firebase,flutter,google-cloud-firestore,firebase-authentication,Android,Firebase,Flutter,Google Cloud Firestore,Firebase Authentication,我正在运行我的应用程序,我面临这个问题。目前,我正在谷歌实现颤振登录。 错误附在下面。请调查一下 (一) 运行应用程序时出错为: FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':app:checkDebugManifest' (type 'CheckManifest'). - Type 'CheckManifest
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':app:checkDebugManifest' (type 'CheckManifest').
- Type 'CheckManifest' property 'manifest' has @Input annotation used on property of type 'File'.
Reason: A property of type 'File' annotated with @Input cannot determine how to interpret the file.
Possible solutions:
1. Annotate with @InputFile for regular files.
2. Annotate with @InputDirectory for directories.
3. If you want to track the path, return File.absolutePath as a String and keep @Input.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#incorrect_use_of_input_annotation for more details about this problem.
* 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 18s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
或
我的pubspec.yaml文件包括:
版本:1.0.0+1
环境:
sdk:“>=2.7.0
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.fyp1"
multiDexEnabled true
minSdkVersion 22
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}