且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我不断收到"java.lang.IllegalArgumentException:给定的字符串为空或空".并且与auth = FirebaseAuth.getInstance();“有关".

更新时间:2023-12-02 12:45:28

当未定义auth密钥字符串(通常称为Api密钥)时,会发生此错误.因此,请检查google-services.json文件并将您的密钥放在current_key标记中.然后重建项目,以便该应用程序使用api密钥.

This error occurs when the auth key string , commonly known as Api key, is not defined. So check the google-services.json file and put your key in current_key tag.And rebuild the project so that the app uses the api key.