Giter Site home page Giter Site logo

Comments (17)

niiapa avatar niiapa commented on May 24, 2024 48

Same error. Any headway?

EDIT: After several hours of looking for a solution, it turns out I had two debug.keystore files and I had tried with both SHA1 values but I dunno whether the app wasn't updating each time I switched. Anywho, the easiest way to find your actual SHA1 is to do what this video says: https://www.youtube.com/watch?v=m_9tk7ME4ZU

[Basically, in Android Studio, open the Gradle menu on the far right, open android-start from the drop down (refresh if nothing is showing), open Tasks, open android, double click signingReport. ]

Get your SHA1 key from there, and go create a new Firebase project and in the console, use that SHA1 key after clicked "Add firebase to Android".. follow the tutorial from there. Restart your device, and tadaa.

At least for me, it worked, and I'd been at it for hours.

from codelab-friendlychat-web.

slotbite avatar slotbite commented on May 24, 2024 8

Well finally login , make a new project, after get the sha1 code in Gradle->Android-start->Tasks->singningReports, put the new google-services.json on src folder and uninstall app ..... Run the project! and voilà , happy coding!

from codelab-friendlychat-web.

karol-202 avatar karol-202 commented on May 24, 2024 1

The blogpost you've written helped me a lot. I've generated new keystore and now it works! Thank you.

from codelab-friendlychat-web.

nicolasgarnier avatar nicolasgarnier commented on May 24, 2024

@gkaldevrel could you have a look?

from codelab-friendlychat-web.

gkaldev avatar gkaldev commented on May 24, 2024

@kroikie who worked on this component.

from codelab-friendlychat-web.

kroikie avatar kroikie commented on May 24, 2024

@crearo is this still an issue for you. If so I would double check that you are using the correct SHA1 and package name for your project, also be sure that you are including the correct google-services.json file.

from codelab-friendlychat-web.

crearo avatar crearo commented on May 24, 2024

I'll try again in a couple days and update.

from codelab-friendlychat-web.

crearo avatar crearo commented on May 24, 2024

I completely forgot to close this! Yes, it worked, thanks a lot @slotbite, @niiapa 👍 I wrote a blogpost on this here. The real trouble is the different signatures - the one your app is signed with while debugging and the one you entered in the firebase console. Hope this helps!

from codelab-friendlychat-web.

karol-202 avatar karol-202 commented on May 24, 2024

I have got the same issue: Google Sign In failed. I've tried setting SHA1 from signingReport in Firebase Console and updating google.services.json file but app still doesn't work.

from codelab-friendlychat-web.

crearo avatar crearo commented on May 24, 2024

Are you getting 12501 as the error code? If yes, and you've made sure the SHA1 keys, package names match, then that's odd. Could you double check everything's alright? If you haven't already, this blogpost might help.

from codelab-friendlychat-web.

jburgoyn avatar jburgoyn commented on May 24, 2024

I am confused about how the completed chat sample code works just fine without having to do any of the above? I downloaded the completed sample code, could run on both device and emulator and be able to log in with google just fine. And obviously the sha1 in the firebase project wouldn't match my computers sha1, so how does that work when it doesn't work when I follow these steps implementing into an existing project I have.

I was able to get it to work on my emulator by adding my sha1 to the fire base console project, however when I run on device I still get the Google signing failed error.

from codelab-friendlychat-web.

lumleon avatar lumleon commented on May 24, 2024

I am also so confusing to run the app at Samsung S4 that at the beginning "class for com.google.firebase.auth not found." and end up "sign-in" not successful.

I tried to download the JSON file again but it still not work.

log:

12-09 23:28:35.697 5108-5108/? D/ResourcesManager: creating new AssetManager and set to /data/app/com.google.firebase.codelab.friendlychat-1/base.apk
12-09 23:28:35.727 5108-5108/? I/InstantRun: Instant Run Runtime started. Android package is com.google.firebase.codelab.friendlychat, real application class is null.
12-09 23:28:37.849 5108-5108/com.google.firebase.codelab.friendlychat W/art: Verification of void com.google.firebase.FirebaseApp.() took 101.837ms
12-09 23:28:38.830 5108-5225/com.google.firebase.codelab.friendlychat W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
12-09 23:28:38.900 5108-5225/com.google.firebase.codelab.friendlychat W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.

...

"12-09 23:29:19.069 5108-5108/com.google.firebase.codelab.friendlychat E/SignInActivity: Google Sign In failed."

from codelab-friendlychat-web.

Divala avatar Divala commented on May 24, 2024

from codelab-friendlychat-web.

lumleon avatar lumleon commented on May 24, 2024

Hi, I had already update the the latest Google Play Services to Rev 38 and the Repository to Rev 40 . Then, I noted that SHA is required for Google Sign-in. So I updated the SHA and signed a release of the APK and installed the application. However, the situation is the same.

from codelab-friendlychat-web.

Divala avatar Divala commented on May 24, 2024

from codelab-friendlychat-web.

lumleon avatar lumleon commented on May 24, 2024

yes, the Google sign-in method was enabled

from codelab-friendlychat-web.

lukiee555 avatar lukiee555 commented on May 24, 2024

pkg: /data/local/tmp/com.google.firebase.udacity.friendlychat
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]

from codelab-friendlychat-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.