Answer a question

I'm running my flutter project in android emulator. I was facing the following error. Screenshot attached.

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

But, I can see the AndroidManifest.xml file in respective file path.

Answers

This answer helped me.

solved it by generating a debug.keystore and registering it inside the app on Firebase. Don't forget to download the new google-services.json after that.

See also https://developers.google.com/android/guides/client-auth

Logo

开发云社区提供前沿行业资讯和优质的学习知识,同时提供优质稳定、价格优惠的云主机、数据库、网络、云储存等云服务产品

更多推荐