Seraphis
Seraphis

Reputation: 1026

Android maps not loading

I have a weird situation in my application: After building app with release key with generated proper API key, I still have problems with loading maps. Sometimes it works fine, sometimes it's not.

Problem appears on map that is on ViewPager. Application has also other MapActivities. It looks like the problem appears when user open map from ViewPager, then change screen to one with MapActivity and come back to ViewPager.

Any ideas why this happened? And how to prevent it?

Upvotes: 0

Views: 109

Answers (1)

Femi
Femi

Reputation: 64700

Your issue may be because from the spec:

Only one MapActivity is supported per process. Multiple MapActivities running simultaneously are likely to interfere in unexpected and undesired ways.

Upvotes: 1

Related Questions