RK Sunnam
RK Sunnam

Reputation: 41

Google Maps displaying blank screen in release apk, working fine in debug mode

Developed an application which uses Google Maps for displaying few locations which are obtained from our services.

app-debug.apk : Google Map working fine and displaying all locations.

app-release.apk : Google Map is displaying like a blank screen with Google water mak at bottom left corner.

Please helpme regarding this....

its worked fine till day before yesterday..... but now its not working

enter image description here

Upvotes: 4

Views: 883

Answers (2)

Yatish
Yatish

Reputation: 531

Debug SHA-1 certificate fingerprint will be different from production(signed) SHA-1 certificate fingerprint , so you need to set both debug SHA-1 fingerprint and production(signed) keystore SHA-1 fingerprint for same package.

To get Keystore SHA-1 fingerprint you can use following command

keytool -list -v -keystore mystore.keystore 

go to location of your keystore from terminal and replace mystore.keystore with your generated keystore.

Upvotes: 2

kundan roy
kundan roy

Reputation: 1936

you should add api key for both mode debug and release mode as discussed here

api key for dubug and release mode

Upvotes: 0

Related Questions