找不到清单版本代码

问题描述 投票:0回答:1

我在android模拟器中运行我的颤动项目。我遇到了以下错误。附上截图。

Launching lib/main.dart on Android SDK built for x86 in debug mode...
Error running com.******.swivy. Manifest versionCode not found
Unable to read manifest info from /Users/muruganandham.kuppan/swivy/build/app/outputs/apk/app.apk.
No application found for TargetPlatform.android_x86.
Is your project missing an android/app/src/main/AndroidManifest.xml?
Consider running "flutter create ." to create one.

enter image description here

但是,我可以在各自的文件路径中看到AndroidManifest.xml文件。

android visual-studio-code flutter
1个回答
0
投票

这个answer帮助了我。

通过生成一个debug.keystore并在Firebase上的应用程序中注册它来解决它。不要忘记在此之后下载新的google-services.json。

另见https://developers.google.com/android/guides/client-auth

© www.soinside.com 2019 - 2024. All rights reserved.