Q:

Google Maps not shown / blank

I've found different topic about this, but neither got me the maps working in my activity.
I've followed the guide provided by google about using maps from google play service:

I've download and added to my libraries google play services
I've created a new activity based on the Service > Map Activity
template
I've followed the instructions in google_maps_api.xml to
get the api key
Built and run the application on my device
Realized I missed something I've added permissions suggested from other threads in the manifest

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="net.labinfo.hotels.core" >

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="net.labinfo.hotels.core.permission.MAPS_RECEIVE"/>
    <!-- GCM requires a Google account. -->
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />

    <uses-permission android:name="net.labinfo.hotels.core.permission.C2D_MESSAGE" />
    <!-- Keeps the processor from sleeping when a message is received. -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />

    <application
        android:allowBackup="true"
        android:largeHeap="true"
        android:theme="@style/AppTheme" >
        <meta-data
            android:name="com.google.android.gms.analytics.globalConfigResource"
            android:resource="@xml/global_tracker" />
      
      .....
      
        </activity>

        <activity
            android:name=".components.activities.avis.AvisMappaActivity"
            android:label="@string/title_activity_avis_mappa" >
        </activity>

        <uses-library android:name="com.google.android.maps"/>
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="@string/google_maps_key" />

    </application>

</manifest>

Still the result is the activity showing only the google logo in the corner and no sign of errors or notifications from logcat.
Am I missing something? I saw that during the google console generation of the api key it showed to me a SHA key, but I've never used it.
Hope somebody can help me out about this

A:

I've solved it. As all of you suggested it was the API key, in particular permissions related to that key.
My problem was the package name, since I used an app with different module, the package name sent to the server was different than the one used to create the key automatically. So I've fixed the problem adding to permission another package name with the same SHA1 key.
For all future readers, I want you to note that I had no error shown until I switched from SupportMapFragment to MapFragment, so I suggest to do so for debugging.
Thanks to anyone helping, cheers.

