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
Qt 6.11 is out! See what's new in the release blog

Firebase error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 2.5k 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.
  • NickVN Offline
    NickVN Offline
    NickV
    wrote on 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?

    raven-worxR 1 Reply Last reply
    0
    • NickVN NickV

      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?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on 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
      • NickVN Offline
        NickVN Offline
        NickV
        wrote on last edited by NickV
        #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
        • NickVN Offline
          NickVN Offline
          NickV
          wrote on last edited by
          #4

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

          1 Reply Last reply
          1

          • Login

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