← Back to list
INS-919
Android Studio で 実機検証環境の構築
StatusDone
TeamInstansys
Assigneeasuki.uehata@instansys.co.jp
PriorityNo priority
Created2026/07/10 03:42
Completed2026/07/13 09:47
Archived2026/07/21 00:45
Description
Android Studio で 実機検証環境の構築 記録も
Comments (4)
asuki.uehata@instansys.co.jp2026/07/10 07:07
エラー内容
2026-07-10 15:47:48.219 19399-32557 Capacitor jp.co.instansys.ultemist D Sending plugin error: {"save":false,"callbackId":"44769958","pluginId":"FirebaseAuthentication","methodName":"signInWithGoogle","success":false,"error":{"message":"During begin sign in, failure response from one tap: 10: [28444] Developer console is not set up correctly."}}
2026-07-10 15:47:48.337 19399-19399 Capacitor/Console jp.co.instansys.ultemist E File: https://app/assets/index-5GEvA7Od.js - Line 16 - Msg: ネイティブGoogle認証エラー: Error: During begin sign in, failure response from one tap: 10: [28444] Developer console is not set up correctly.
2026-07-10 15:47:48.338 19399-19399 Capacitor/Console jp.co.instansys.ultemist E File: https://app/assets/index-5GEvA7Od.js - Line 16 - Msg: Webベースの認証にもフォールバック失敗: FirebaseError: Firebase: Error (auth/argument-error).
2026-07-10 15:47:48.340 19399-19399 Capacitor/Console jp.co.instansys.ultemist E File: https://app/assets/index-5GEvA7Od.js - Line 16 - Msg: Googleサインインエラー: Error: During begin sign in, failure response from one tap: 10: [28444] Developer console is not set up correctly.
2026-07-10 15:47:48.341 19399-19399 Capacitor/Console jp.co.instansys.ultemist E File: https://app/assets/index-5GEvA7Od.js - Line 16 - Msg: サインインエラー: Error: During begin sign in, failure response from one tap: 10: [28444] Developer console is not set up correctly.
2026-07-10 15:48:37.093 19399-32588 FirebaseAuth jp.co.instansys.ultemist E [GetAuthDomainTask] Error getting project config. Failed with INVALID_CERT_HASH 400
2026-07-10 15:48:37.269 19399-19399 FirebaseAuthentication jp.co.instansys.ultemist E There was an error while trying to get your package certificate hash.
com.google.firebase.auth.FirebaseAuthException: There was an error while trying to get your package certificate hash.
at com.google.android.gms.internal.firebase-auth-api.zzadg.zza(com.google.firebase:firebase-auth@@23.1.0:39)
at com.google.firebase.auth.internal.zzbe.onReceive(com.google.firebase:firebase-auth@@23.1.0:30)
at androidx.localbroadcastmanager.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:313)
at androidx.localbroadcastmanager.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:121)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8653)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
asuki.uehata@instansys.co.jp2026/07/10 07:08
端末側のGoogleアカウントは無関係です。これはSHA-1証明書フィンガープリントの未登録が原因
asuki.uehata@instansys.co.jp2026/07/10 08:08
- 2つ目のログブロックにある
INVALID_CERT_HASH/There was an error while trying to get your package certificate hash.が決定的です。これはFirebaseが「このAPKの署名証明書がGoogle Cloud Console/Firebaseに登録されていない」と判定しているエラーです。 - 実際に確認すると、
android/app/google-services.jsonに登録されているAndroid用OAuthクライアントのcertificate_hashはcb08f9e39a4c83c33bae7fa95dac98525214b0e9の1件のみ。
asuki.uehata@instansys.co.jp2026/07/10 08:39
-
2つ目のログブロックにある
INVALID_CERT_HASH/There was an error while trying to get your package certificate hash.が決定的です。これはFirebaseが「このAPKの署名証明書がGoogle Cloud Console/Firebaseに登録されていない」と判定しているエラーです。 -
実際に確認すると、
android/app/google-services.jsonに登録されているAndroid用OAuthクライアントのcertificate_hashはcb08f9e39a4c83c33bae7fa95dac98525214b0e9の1件のみ。