あるアプリをAndroidstudioで作成することにしたのですが
Firebaseのデータベースを使用したいと思い
firebaseデータベースURL
サンプルを動かしてみたのですが
firebaseサンプルURL
下記のようなエラーが出て解決できません
どなたか解決方法ご存知でしょうか?
宜しくお願い致します。
Information:Gradle tasks [:messaging:app:clean, :messaging:app:generateDebugSources, :messaging:app:generateDebugAndroidTestSources, :messaging:app:mockableAndroidJar, :messaging:app:prepareDebugUnitTestDependencies, :messaging:app:assembleDebug]
:messaging:app:clean
:messaging:app:preBuild UP-TO-DATE
:messaging:app:preDebugBuild UP-TO-DATE
:messaging:app:checkDebugManifest
:messaging:app:preReleaseBuild UP-TO-DATE
:messaging:app:prepareComAndroidSupportAnimatedVectorDrawable2400Library
:messaging:app:prepareComAndroidSupportAppcompatV72400Library
:messaging:app:prepareComAndroidSupportSupportV42400Library
:messaging:app:prepareComAndroidSupportSupportVectorDrawable2400Library
:messaging:app:prepareComGoogleAndroidGmsPlayServicesBasement920Library
:messaging:app:prepareComGoogleAndroidGmsPlayServicesTasks920Library
:messaging:app:prepareComGoogleFirebaseFirebaseAnalytics920Library
:messaging:app:prepareComGoogleFirebaseFirebaseAnalyticsImpl920Library
:messaging:app:prepareComGoogleFirebaseFirebaseCommon920Library
:messaging:app:prepareComGoogleFirebaseFirebaseCore920Library
:messaging:app:prepareComGoogleFirebaseFirebaseIid920Library
:messaging:app:prepareComGoogleFirebaseFirebaseMessaging920Library
:messaging:app:prepareDebugDependencies
:messaging:app:compileDebugAidl
:messaging:app:compileDebugRenderscript
:messaging:app:generateDebugBuildConfig
:messaging:app:mergeDebugShaders
:messaging:app:compileDebugShaders
:messaging:app:generateDebugAssets
:messaging:app:mergeDebugAssets
:messaging:app:generateDebugResValues UP-TO-DATE
:messaging:app:processDebugGoogleServices
Parsing json file: /Users/ユーザー名/Desktop/quickstart-android-master/messaging/app/google-services.json
:messaging:app:processDebugGoogleServices FAILED
Error:Execution failed for task ':messaging:app:processDebugGoogleServices'.
No matching client found for package name 'com.google.firebase.quickstart.fcm'
Information:BUILD FAILED
Information:Total time: 38.804 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。