我在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.
但是,我可以在各自的文件路径中看到AndroidManifest.xml
文件。
这个answer帮助了我。
通过生成一个debug.keystore
并在Firebase上的应用程序中注册它来解决它。不要忘记在此之后下载新的google-services.json。