Note that there are some explanatory texts on larger screens.

plurals
  1. POThis app won't run without Google Play Services, which are missing from your phone
    text
    copied!<p>maybe this questions has been asked there millions of times, but nothing help me.</p> <h3>java activity</h3> <pre><code>package com.williamroma.example; import com.google.android.gms.common.GooglePlayServicesUtil; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; import android.os.Bundle; import android.support.v4.app.FragmentActivity; public class MainActivity extends FragmentActivity { @Override protected void onCreate(Bundle arg0) { // TODO Auto-generated method stub super.onCreate(arg0); setContentView(R.layout.main); GooglePlayServicesUtil .isGooglePlayServicesAvailable(getApplicationContext()); GoogleMap map = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)) .getMap(); } } </code></pre> <h3>java mainfest</h3> <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.williamroma.example" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" /&gt; &lt;uses-feature android:glEsVersion="0x00020000" android:required="true" /&gt; &lt;permission android:name="com.williamroma.example.permission.MAPS_RECEIVE" android:protectionLevel="signature" /&gt; &lt;uses-permission android:name="com.williamroma.example.permission.MAPS_RECEIVE" /&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt; &lt;application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" &gt; &lt;activity android:name=".MainActivity" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyCyk2MVC5Fyl7HIB3iHlPgyRqvOF-VXYJw" /&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre> <h3>project </h3> <p><img src="https://i.stack.imgur.com/BTRkX.jpg" alt="enter image description here"></p> <h3>emulator 2.2</h3> <p><img src="https://i.stack.imgur.com/UXLTL.jpg" alt="enter image description here"></p> <p>where is the wrong please? i have installed google play service from sdk and import it , and then add it from project->property->android->add .</p> <p> i have the key for google-map android v2 successfully</p> <p>please help </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload