• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Can't display GoogleMaps in application

agmonser

Lurker
Hi guys,

I'm trying to display GoogleMaps in my application using emulator, but instead of map I just get an empty screen with crosses and Google logo in the bottom left corner.

I'm using Internet permission in manifest file, just as the library "com.google.android.maps". I have also supported my application with Android Maps API key and I placed it in layout as android:apiKey value for MapView, but it still can't display the map.

main.xml:

<com.google.android.maps.MapView
android:id="@+id/myMapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:enabled="true"
android:clickable="true"
android:apiKey="07vNiwHa094tV14bUdyK0VTtXx0eeAZlk6WdKXQ"
/>

manifest.xml:

<uses-library android:name="com.google.android.maps" />
...
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />


I have used two different apiKey values, regarding whether I signed
the application with debug or my own created keystore, but it didn't
work with none of them.

If someone can help me, I would really appreciate it.

Best regards,
Alex
 
Back
Top Bottom