为什么谷歌地图没有显示在Android模拟器上?

为什么谷歌地图没有显示在Android模拟器上?,android,android-layout,android-mapview,android-maps-v2,android-maps,Android,Android Layout,Android Mapview,Android Maps V2,Android Maps,为了在android Genymotion模拟器上运行google地图,我已经安装并准备好了一切。但由于某些原因,它没有显示出来。我知道程序可以导航到地图布局页面,但是实际的地图没有出现在那里 看起来像这样: 我试过使用不同的模拟器,但它们是相同的 这个怎么了 这是仿真器规范: fragment_map_detailed.XML: <fragment xmlns:android="http://schemas.android.com/apk/res/android" xmlns:t

为了在android Genymotion模拟器上运行google地图,我已经安装并准备好了一切。但由于某些原因,它没有显示出来。我知道程序可以导航到地图布局页面,但是实际的地图没有出现在那里

看起来像这样:

我试过使用不同的模拟器,但它们是相同的

这个怎么了

这是仿真器规范:

fragment_map_detailed.XML:

<fragment xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/map"
    tools:context=".MapDemoActivity"
    android:name="com.google.android.gms.maps.SupportMapFragment"/>

[注意:此问题涉及我的应用程序的一部分。我的应用程序很大,我使用了列表项视图和DummContent。对于活动,我使用了master overflow。]

我认为您的google PlaybService未安装在emulator中。

从或下载google play服务。然后将文件拖放到您的模拟器上,您就可以开始了。

出于自身安全原因,您可能不想在此处显示真正的mapkey。您是否在真正的设备上进行过尝试?如果我没记错的话,自从他们不太支持OpenGL ES 2以来,情况一直如此。一只可爱的巴斯塔犬,很有道理!但我做了些改变。一只蜂蜜大鸨,我没试过。我应该吗?请注意,这违反了在Genymotion上安装Google Play服务的许可条款和条件。西蒙,这是否意味着我永远不能在Genymotion模拟器中使用它?请注意,在Genymotion上安装Google Play服务违反了许可条款和条件。Kavis,已经安装了。我下载相应的Zip文件并拖放它。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.mycompany.lab3_fragment_list" >

    <permission
        android:name="com.mycompany.lab3_fragment_list.permission.MAPS_RECEIVE"
        android:protectionLevel="signature" />
    <uses-permission android:name="android.permission.INTERNET" />"

    <uses-permission android:name="com.mycompany.lab3_fragment_list.permission.MAPS_RECEIVE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".ItemListActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".ItemDetailActivity"
            android:label="@string/title_item_detail"
            android:parentActivityName=".ItemListActivity" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".ItemListActivity" />
        </activity>



        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

        <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="AIzaSyBDAQyMry1pdb9aCEvzBR0eTO79vj0MtU4" />
    </application>

</manifest>
.....................
...................
     else if (mItem.id.equals("4")) {

                    rootView = inflater.inflate(R.layout.fragment_map_detailed, container, false);


                }
.....................
....................