Default FirebaseApp failed to initialize because no default options were found. This usually means that com.google.gms:google-services was not applied to your gradle project.

1.打开根目录中的build.gradle
2.buildscript->dependencies->将com.google.gms:google-services版本修改为classpath 'com.google.gms:google-services:4.3.8'

posted on 2024-06-03 21:56  陈德彪  阅读(332)  评论(0)    收藏  举报

导航