How to connect Firebase to Android Studio Manually. Firebase Android Studio Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2020
  • How to connect Firebase to Android Studio Manually. Firebase Android Studio Tutorial.
    Donate me:
    Paypal: paypal.me/finegap?country.x=A...
    Binance Pay ID: 253333352
    ==============================
    Follow us Links:
    Instagram: / fine_gap
    Facebook: / cubixsol
    Linkedin: / cubixsol
    Whatsapp: +923233151852
    ================================================
    Best Gadgets for Programmers
    1. Best Programming window laptop: amzn.to/3Nd825R
    2. Best Programming Mackbook: amzn.to/3Dtq28S
    3. Best Programming chair: amzn.to/3TTbWTB
    4. Best Programming Desk: amzn.to/3N51OEW
    5. Best Programming Keyboard & Mouse: amzn.to/3TXiws8
    Best TH-cam Gadgets & Equipments for all TH-camrs
    - Best Vlogging & Photshop Camera
    1. Best DSLR Camera: amzn.to/3zeVlSc
    2. Best Vlogging Camera: amzn.to/3TX8ffw
    - Best Mics
    1. Wireless Mic: amzn.to/3TDskIe
    2. Mic for Voiceover: amzn.to/3srYaf5
    3. Wired Collar Mic: amzn.to/3W4VzFx
    - Monitor Screens
    1. Ultra Wide Monitor Screen (22 inch): amzn.to/3TxVqIS
    2. Ultra Wide Monitor Screen (24 inch): amzn.to/3D4mGaM
    3. Ultra Wide Monitor Screen (27 inch): amzn.to/3D8KxGx
    Best Gaming Gadgets & Games
    - Gaming Gadgets
    1. Best Gaming PC: amzn.to/3fcs5F6
    2. Best Gaming Laptop: amzn.to/3su6pax
    3. Best Gaming Graphic Card: amzn.to/3Ndb7mC
    4. Best Gaming Keyboard & Mouse: amzn.to/3Fk93Y0
    5. Best LED Strip Lights: amzn.to/3gLQVvV
    6. Gaming Mouse Pad: amzn.to/3zlg46Z
    - Best Amazon Games
    1. Minecraft: amzn.to/3zlHKsy
    2. Sonic Jump: amzn.to/3U1ZDUS
    3. PJ Masks: Racing Heroes: amzn.to/3DAmZM3

ความคิดเห็น • 126

  • @chelseaehimare597
    @chelseaehimare597 3 ปีที่แล้ว +2

    Thank you so much, just installed the latest version of Android. I really needed this...

  • @tomnjerrycrazysquad9610
    @tomnjerrycrazysquad9610 3 ปีที่แล้ว +1

    Thanks man. You solved my problem.

  • @muzammelhaquesohel2838
    @muzammelhaquesohel2838 3 ปีที่แล้ว +1

    Thank you brother ,nice elaboration easy to understand .

  • @tragicomradeshorts5351
    @tragicomradeshorts5351 2 ปีที่แล้ว +1

    thank you so much i have spent almost three days but nobady tell me that your project will automatically connect to the firebase whenever you will run the app thank you so much now my project become connect with firebase finally i can work in my project ahead ...
    now I'm Subscribing your channel forever luv you brother💕

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      Thank you soo much

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @stefanat5072
    @stefanat5072 3 ปีที่แล้ว +1

    It worked!! Thanks a lot!

  • @yuvrajkhinchi8218
    @yuvrajkhinchi8218 3 ปีที่แล้ว +1

    THANK YOU SO SO MUCH

  • @raihanboi2779
    @raihanboi2779 2 ปีที่แล้ว +1

    Thanks dude, really helpfull!

  • @menghorngkao
    @menghorngkao 2 ปีที่แล้ว +1

    Thank you so much!

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @pillow123321ify
    @pillow123321ify 2 ปีที่แล้ว +2

    Hi Sir I am having issues I followed the same steps but after the step 3 I synced the gradle build and there was error "Gradle Project Sync failed, Basic functionality will not work properly."

  • @nikkoalferez3398
    @nikkoalferez3398 3 ปีที่แล้ว +1

    hi can i ask for help? this is also in regards of firebase connection

  • @babayaga8323
    @babayaga8323 2 ปีที่แล้ว +2

    thank you so much for this!!!

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว +1

      welcome

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @mohammadyusuf1458
    @mohammadyusuf1458 3 ปีที่แล้ว +3

    2:26
    heyy when i open gradles it only gives me option of dependencies

    • @edogawaeduardus6149
      @edogawaeduardus6149 2 ปีที่แล้ว +1

      same problem here, need help bro

    • @jj9309
      @jj9309 2 ปีที่แล้ว

      Me too but I ignored it because it says its optional 😅

  • @finegap
    @finegap 2 ปีที่แล้ว +1

    Osm video

  • @blazemonteiro7514
    @blazemonteiro7514 3 ปีที่แล้ว +1

    my android application is about booking time slots (that are in form of buttons). how do I add the particular button clicked to the database ?

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @ntuthukodlamini6804
    @ntuthukodlamini6804 3 ปีที่แล้ว +2

    i got stucked at 2:19 in gradle. My andriod studio does not have all these thing under app

    • @edogawaeduardus6149
      @edogawaeduardus6149 2 ปีที่แล้ว

      same prob here, need help sir

    • @nichathangaming
      @nichathangaming 2 ปีที่แล้ว +1

      To fix this, click File->Settings (Ctrl-alt-s)->Experimental(bottom) and deselect "Do not build Gradle task list during Gradle sync". Then click OK. Finally, click File->Sync Project With Gradle Files. After all of this, the task list should appear in your Gradle tab.

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @parzival4407
    @parzival4407 3 ปีที่แล้ว +1

    thank you I was building but it didn't work now it worked properly once again thanks

  • @Nick-cx4rs
    @Nick-cx4rs 2 ปีที่แล้ว +1

    Why i dont have buildscript{} and allprojects {} on project gradle.build .
    And always error when i copy paste
    plugins {
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
    }
    task clean(type: Delete) {
    delete rootProject.buildDir
    }
    only in gradle.build . on all apps

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      Now android studio settings have changed. its an old video watch new video

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @victoriav9131
    @victoriav9131 2 ปีที่แล้ว +3

    Hey im not seeing the gradle popping up to the side, any idea where it might be ?

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Click on the "View" menu in Android Studio.
      Choose "Tool Windows" and then "Gradle" from the dropdown.
      Alternatively, press "Alt + 1" to toggle the Project view, and you should see Gradle on the right side.
      If the issue persists, check if Gradle is properly configured in your project's build.gradle files. You may need to sync the project with Gradle by clicking the "Sync Now" button that appears in the bar at the top. If you're still facing issues, consider restarting Android Studio.

  • @nonameavailableatm
    @nonameavailableatm 3 ปีที่แล้ว +2

    Is it safe to share a google service json file on a shared repository?

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว +1

      No, don't share the google-services. json file. AFAIK it contains secret information, so don't share it. They can create their own for development purposes.

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @anonyMonZ
    @anonyMonZ 2 ปีที่แล้ว +1

    I am getting an error of Build was configured to prefer settings repositories over project repositories but repository Google was added by build file build.gradle.
    What should i do now?

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว +1

      you should watch another video of how to connect the firebase with android studio. Because the method has been changed a little bit

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @dan6041
    @dan6041 3 ปีที่แล้ว +1

    hi is that firebase can connect to the web also?

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว

      Yes it can connect. Firebase API available using javascript programming language

  • @kakatarin7636
    @kakatarin7636 3 ปีที่แล้ว +2

    thank youu!, but my gradle not showing the tasks, can u help me why is it happen?

    • @eagle5759
      @eagle5759 3 ปีที่แล้ว

      i think after android studio update it happened with everyone i also stuck that is why i have to do this manually

  • @manzarsofttech8172
    @manzarsofttech8172 3 ปีที่แล้ว +2

    My application is throwing error (an internal error has occured [Configuration not found]). After applying your solution app still throwing same error. So , please help me.

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Check your project's settings.gradle for any incorrect or missing configurations.
      Ensure all included modules are correctly specified.
      Sync your project after making changes, and the error should be resolved.
      Thanks for commenting! Subscribe for more content and support us!

  • @mr.saurabhnagre5920
    @mr.saurabhnagre5920 2 ปีที่แล้ว +1

    After doing all this things after rebuilding the application, the auto generated files like resources files containing default string had not been generating, because of that I can't able to connect my app for Google sign in. This is happening after android studio new version. If someone facing the same please help me to find solution.

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Ensure your project's res folder and values subfolder are intact, containing necessary XML files.
      Double-check your gradle.properties file for any misconfigurations and that your dependencies are correctly specified.
      If issues persist, consider checking for updates or downgrading Android Studio versions to a stable build that doesn't encounter these auto-generation problems.
      *Thanks for commenting! Subscribe for more content and support us!*

  • @prateekjain6711
    @prateekjain6711 2 ปีที่แล้ว +1

    my project is not working
    I had made a project from android studio and it was working fine but then I change my laptop and then I compiled the project from the new laptop and new android studio it is not working and i am using fire base firestore for storing the registeration details but it wont work now
    what to do somebody help please..?

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Check if your new laptop has a stable internet connection, as Firestore relies on network connectivity.
      Verify the correct placement of the google-services.json file in your app module for Firebase.
      Ensure dependencies, including Firebase SDK versions, are correctly set in your build.gradle files, and sync your project in Android Studio.
      *Thanks for commenting! Subscribe for more content and support us!*

  • @poojab3272
    @poojab3272 2 ปีที่แล้ว +1

    i don't have signing report in that gradle section what do i have to do ?

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      you should watch a new video on how to connect the firebase with android studio. Because android studio have changed some method.

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @rinkikumaridubey7309
    @rinkikumaridubey7309 2 ปีที่แล้ว +1

    File google-services.json is missing. The Google Services Plugin cannot function without it.
    how to slove this

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Ensure you have the google-services.json file in the app directory of your Android Studio project.
      Confirm the file's content matches your Firebase project settings.
      If the issue persists, re-download the google-services.json file from your Firebase project and replace the existing one.
      *Thanks for commenting! Subscribe for more content and support us!*

  • @sciencestudent2964
    @sciencestudent2964 2 ปีที่แล้ว +1

    Did all of this still getting " internal error Socket Failed EPERM " !! please help

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      If you're still encountering the "internal error Socket Failed EPERM" in Android Studio, try running it as an administrator, disable the Gradle Daemon, and ensure there are no firewall or proxy issues. If the problem persists, provide more details about your environment for further assistance.
      *Thanks for commenting! Subscribe for more content and support us!*

  • @dknaoremcha
    @dknaoremcha 3 ปีที่แล้ว +2

    Nice tutorial, Iam inspired. Sir, can I chat with you? I want to discuss about one of my app troubling a lot.

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว +1

      How can I help you? you can chat with us on our website with the same name

    • @dknaoremcha
      @dknaoremcha 3 ปีที่แล้ว

      @@Cubixsolution thanks for your reply though it's late, I have already solved it.

  • @resha4653
    @resha4653 2 ปีที่แล้ว +1

    Task option is not available in app. Just dependeny is here. What can i do?

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว +1

      you should watch another video of how to connect the firebase with android studio. Because the method has been changed a little bit

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @rinkikumaridubey7309
    @rinkikumaridubey7309 2 ปีที่แล้ว +1

    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    sir how to slove this problem

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @s.nanineeraja1248
    @s.nanineeraja1248 2 ปีที่แล้ว +1

    I have added the firebase but it is showing like connection to firebase failed.please check your internet connection

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @anusham2748
    @anusham2748 3 ปีที่แล้ว +1

    I'm getting an error i.e internal error has occurred configuration not found.can you please resolve

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว

      please did you do all the steps that i have told in the video?

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @easylearningwithsuraj3339
    @easylearningwithsuraj3339 2 ปีที่แล้ว

    Brother when I am adding these dependencies in build gradle and when I run the app it is showing error what to do

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว +1

      what is the error?

    • @easylearningwithsuraj3339
      @easylearningwithsuraj3339 2 ปีที่แล้ว

      @@Cubixsolution are u in instagram ,then I can send u the screenshot of the error

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @deveshreekadu4087
    @deveshreekadu4087 3 ปีที่แล้ว +1

    I am getting error - “AAPT2 output exit error” plz help me out

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว

      Please share your log screen with me

    • @deveshreekadu4087
      @deveshreekadu4087 3 ปีที่แล้ว

      Cubix Sol my prblm is solved now

  • @likitharotta5678
    @likitharotta5678 3 ปีที่แล้ว +1

    Even if I done the same process ....my app is not connecting to database

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว

      please follow the the same steps that i have told in the app. Or share your app log with me

  • @ajitk.technologies
    @ajitk.technologies 2 ปีที่แล้ว +1

    After publish my app at Play Store ,firebase not worked

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      App testing is required. You can contact us on email

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @sohansajib1269
    @sohansajib1269 3 ปีที่แล้ว +1

    Sir recently i buy a project file like earning app. But i can't connect on my firebase can you help

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว

      Yes i will help but only if you can tell me whats the problem i mean why your app is not connecting ?

  • @twisty8005
    @twisty8005 ปีที่แล้ว +1

    Hi sir, I cant find "android" in the gradle area all I see is dependencies

    • @Cubixsolution
      @Cubixsolution  ปีที่แล้ว +1

      share the screen shots on our email

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @sohaibabbas4833
    @sohaibabbas4833 2 ปีที่แล้ว +1

    Assalamualaikum bhi mene project firebase say connect kia he lkn jab me sign up hota ho to verification code ni ata wo kheta he firebase me athentication Ka problem he wo kasay Hal jiga

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      ye to ab ap ka code dekh kar hi pata chale ga k kia problem hai?

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @RajanSingh-bi7ek
    @RajanSingh-bi7ek ปีที่แล้ว +1

    could not parse the android application module's gradle config.resolve gradle build issues and/or resync
    How to resolve this issue

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @swapnilsaindane2697
    @swapnilsaindane2697 3 ปีที่แล้ว +2

    signin report is not showing

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว +1

      Did you follow the video steps correctly?

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @Rex-qy8yp
    @Rex-qy8yp 2 ปีที่แล้ว +1

    Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'
    I got this error can someone help me?

    • @varunkamble3976
      @varunkamble3976 2 ปีที่แล้ว +1

      New android version sucks.....i have same problem......help me if you have solved......

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Open your build.gradle file and check for a repository named 'Google.'
      If found, remove it, as it's likely conflicting with your build configuration.
      Sync your project, and the error should be resolved.
      *Thanks for commenting! Subscribe for more content and support us!*

  • @raghavsharma4135
    @raghavsharma4135 ปีที่แล้ว +1

    i am getting the exact file of google services json

    • @Cubixsolution
      @Cubixsolution  ปีที่แล้ว +1

      I hope you will be connect your android studio with firebase

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @asifsaad5827
    @asifsaad5827 3 ปีที่แล้ว +1

    showing error while doing 'sync'

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @madhunare9605
    @madhunare9605 2 ปีที่แล้ว +1

    Sir Im getting gradle sync error

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @animesongs3992
    @animesongs3992 2 ปีที่แล้ว +1

    i get this error when synching Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      you should watch another video of how to connect the firebase with android studio. Because the method has been changed a little bit

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @animentalproducts5228
    @animentalproducts5228 2 ปีที่แล้ว +1

    Followed all the instructions, but it still didn't set it up properly.

    • @Cubixsolution
      @Cubixsolution  2 ปีที่แล้ว

      you should watch another video of how to connect the firebase with android studio. Because the method has been changed a little bit

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @RAJESHSAHU-pl8mk
    @RAJESHSAHU-pl8mk 2 ปีที่แล้ว +1

    How to run the app??🤣 And launch it 🙃

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      *Thanks for commenting! Subscribe for more content and support us!*

  • @maninaredla4840
    @maninaredla4840 3 ปีที่แล้ว +1

    Bro my build was successful but fire base adding error coming

    • @Cubixsolution
      @Cubixsolution  3 ปีที่แล้ว

      please follow the same steps that i have told in the video or share your app log with me

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน

      Thanks for commenting! Subscribe for more content and support us!

  • @diraneserges6076
    @diraneserges6076 ปีที่แล้ว +1

    Hallo Please need this Help to fix this Error. i got it when i imported dependencies in Build.gradle.module
    Could not find method classpath() for arguments [com.google.gms:google-services:4.3.13] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

    • @Cubixsolution
      @Cubixsolution  ปีที่แล้ว +2

      bro plz search your error on stack overflow

    • @Cubixsolution
      @Cubixsolution  5 หลายเดือนก่อน +1

      *Thanks for commenting! Subscribe for more content and support us!*