Comments (17)
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.
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.
The blogpost you've written helped me a lot. I've generated new keystore and now it works! Thank you.
from codelab-friendlychat-web.
@gkaldevrel could you have a look?
from codelab-friendlychat-web.
@kroikie who worked on this component.
from codelab-friendlychat-web.
@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.
I'll try again in a couple days and update.
from codelab-friendlychat-web.
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.
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.
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.
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.
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.
from codelab-friendlychat-web.
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.
from codelab-friendlychat-web.
yes, the Google sign-in method was enabled
from codelab-friendlychat-web.
pkg: /data/local/tmp/com.google.firebase.udacity.friendlychat
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]
from codelab-friendlychat-web.
Related Issues (20)
- https://github.com/kikorobledo/
- Restore/all
- Restore/all
- Restore/all/to_original
- Restore/all
- Restore/all
- Restore/all/to_original
- Restore/everything_to/original
- 36570abc5bab35e6a27cf776a49924cf09f10a7f
- 36570abc5bab35e6a27cf776a49924cf09f10a7f
- 36570abc5bab35e6a27cf776a49924cf09f10a7f
- 36570abc5bab35e6a27cf776a49924cf09f10a7f
- 36570abc5bab35e6a27cf776a49924cf09f10a7f
- 0ab867bb94177c540145555f17d8b15a815d1dde
- # web-empresa-curso
- # web-empresa-curso
- #heyitsquoracom:Heyitsquoracom-patch-1[iheyreally.org](url) HOT 2
- Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
- git clone https://github.com/firebase/friendlychat
- https://github.com/firebase/codelab-friendlychat-web/issues/799#issue-2309564430
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codelab-friendlychat-web.