Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Firebase error
Forum Updated to NodeBB v4.3 + New Features

Firebase error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NickV
    wrote on 2 Apr 2018, 13:47 last edited by
    #1

    I am trying to implement firebase sdk to my android app but i am getting the following error:

    Java class com/google/firebase/FirebaseApp not found. Please verify the AAR which contains the com/google/firebase/FirebaseApp class is included in your app.

    This error becomes when i am trying to do ::firebase::App::Create

    Any idea?

    R 1 Reply Last reply 3 Apr 2018, 06:40
    0
    • N NickV
      2 Apr 2018, 13:47

      I am trying to implement firebase sdk to my android app but i am getting the following error:

      Java class com/google/firebase/FirebaseApp not found. Please verify the AAR which contains the com/google/firebase/FirebaseApp class is included in your app.

      This error becomes when i am trying to do ::firebase::App::Create

      Any idea?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 3 Apr 2018, 06:40 last edited by
      #2

      @NickV
      did you add the corresponding build dependencies (e.g. google play services) to your build.gradle file?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NickV
        wrote on 3 Apr 2018, 06:51 last edited by NickV 4 Mar 2018, 06:55
        #3

        Yes. I followed the instructions. My dependencies are the following:

            compile 'com.google.firebase:firebase-core:12.0.1'
            compile 'com.google.firebase:firebase-auth:12.0.1'
            compile 'com.google.firebase:firebase-messaging:12.0.1'
            compile 'com.google.firebase.messaging.cpp:firebase_messaging_cpp@aar'
            compile 'com.google.android.gms:play-services-base:12.0.1'
        

        I followed this article: https://medium.com/@shigmas/push-notifications-in-qt-for-ios-and-android-50c2f9a38444

        1 Reply Last reply
        1
        • N Offline
          N Offline
          NickV
          wrote on 3 Apr 2018, 08:17 last edited by
          #4

          Ok Problem solved. I had to enable use gradle from project tab!

          1 Reply Last reply
          1

          1/4

          2 Apr 2018, 13:47

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved