1

Google API is returning null when 'm using the signed apk.Many links pointed towards the SHA1 finger print. I have supplied the SHA1 at the google account as well, but still facing the same problem. Can anyone please guide towards the solution? (Problem is only with signed release apk,it is working fine with debug apk) Thanks

Usman Rana
  • 2,067
  • 1
  • 21
  • 32
  • 1
    its a bug on 5.0 and up based on this https://code.google.com/p/android-developer-preview/issues/detail?id=1947 use SupportMapFragment insted, check this http://stackoverflow.com/questions/26597161/findfragmentbyid-for-supportmapfragment-returns-null-in-android-studio – Kastriot Dreshaj Nov 16 '15 at 14:02
  • 1
    There is nothing wrong with the map. I am getting null when trying to login with google API. (Problem is only with signed apk) – Usman Rana Nov 17 '15 at 04:06
  • did you enable Google Maps Android API not Google Maps API on google console console.developers.google.com – Kastriot Dreshaj Nov 17 '15 at 07:54
  • 1
    Yes, It is enabled ...... and the solution that i found is that the SHA1 was causing problem. Now, it is working fine . Thanks for your kind suggestions :) – Usman Rana Nov 20 '15 at 07:14
  • did you put Same release SHA1 in to firebase consol? – ND1010_ May 31 '17 at 07:31

0 Answers0