3

I have this error in android console:

08-25 21:27:10.446 11891-11924/com.example.mamnay.map D/Volley﹕ [555] a.a: HTTP response for request=<[ ] https://clients4.google.com/glm/mmap/api 0x99e6744e NORMAL 2> [lifetime=5900], [size=231188], [rc=200], [retryCount=0] 08-25 21:27:10.456 11891-11891/com.example.mamnay.map D/Volley﹕ [1] p.b: 5910 ms: [ ] https://clients4.google.com/glm/mmap/api 0x99e6744e NORMAL 2 08-25 21:27:10.626 11891-11942/com.example.mamnay.map E/PGA﹕ [11942] Connection closed by host (err = 104), possibly due to exception: App cannot continue with current context. Exiting. 08-25 21:27:10.626 11891-11942/com.example.mamnay.map A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000123 (code=1), thread 11942 (Thread-570) 08-25 21:27:10.636 11891-11932/com.example.mamnay.map D/dalvikvm﹕ GC_FOR_ALLOC freed 1015K, 20% free 4913K/6116K, paused 20ms, total 20ms 
11
  • It seems your connection was rejected by host. You should re-check your keys and credentials. Commented Aug 26, 2015 at 16:53
  • thanks for your response Commented Aug 27, 2015 at 12:15
  • i'm new in android and i don't know how to do this Commented Aug 27, 2015 at 12:15
  • What are you going to approach? Commented Aug 27, 2015 at 18:07
  • i create a new project in android studio with option google map (that is offered in android studio) and android studio extract my SHA1+my package plus link with this infos. that you generate an android api key for your project and finally i copied this key in my projet (just like some tutoriel that i follow in net) and i build my projet thanks for response Commented Aug 27, 2015 at 19:16

1 Answer 1

1

As we discussed above, please follow the step here and this video should be really help.

You can get SHA1 by using:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v

and the password by default is android.

enter image description here

Sign up to request clarification or add additional context in comments.

7 Comments

i have an opinion in video we proceed by generate unsigned apk by .jks key and this key is for release version and that precede the proper key SHA1 that we use to generate API Key. but your procedure is to use debug.keystore that is compatible with debug mode for that when i use your proposition android studio show a error : authentication failed and if i use the correct key SHA-1 (this key that Android Studio show for me is different to the debug.keystore that i use in google console developer)
it is normal because i generate a signed akp that use file .jks with his proper key SHA-1 and in google console developer i use debug.keystore :)
Why you call this clients4.google.com/glm/mmap/api api address, do you just wanna show a map on the phone or something? If so, please check my code here. And for the map, please follow the official doc here.
Also you can follow this video if you want.
How did you solve the 400 error for clients4.google.com/glm/mmap/api? What did you change?
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.