Reputation: 1562
Hi If I leave blank the SHA key when I create the api key, will it work? Am I right that this means that all application works? I followed the codes given in https://developers.google.com/maps/documentation/android/start#obtaining_an_api_key When I run the app on my phone, I get error - fragment class not found. My phone is gingerbread. Am I right to reference the whole library project in my project??
Upvotes: 0
Views: 129
Reputation: 7357
I think it will not work, when you enter something like ;com.example.android.mapexample
when requesting API key in google maps console, because your SHA key cannot be ""
.
Upvotes: 0
Reputation: 41129
No it won't work. this is the way Google identify that the application was created on the same device as the key was produces. If you won't supply the key you wont see a map in your application.
With that said it look that you problem is not really related to the SHA1 key but ratter a wrong use of a MapFragment
. I think that for this Android version you should use SupportMapFragment
.
Upvotes: 2