Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Possible Reasons for the CRASH.</p> <p>You are trying to run it in Emulator.</p> <p>You have not included the API key in your Manifest.in Application the Tag.</p> <pre><code> &lt;application&gt; &lt;!-- some other code in the manifest --&gt; &lt;meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="YOUR_API_KEY"/&gt; &lt;/application&gt; </code></pre> <p>Add the Map Fragment to your Main.java</p> <pre><code>GoogleMap googleMap; // Getting reference to the SupportMapFragment of activity_main.xml MapFragment fm = (MapFragment) getFragmentManager().findFragmentById(R.id.map); // Getting GoogleMap object from the fragment googleMap = fm.getMap(); </code></pre> <p>For further details See my blog posts i have tried to summarize all there is needed to build an App with Google Maps API V2 for Android.</p> <ol> <li><a href="http://mzubair.com/solving-the-problemserrors-of-google-maps-api-v2/" rel="nofollow">Solution to Problems with Maps API V2(using google_play_services_lib).</a></li> <li><a href="http://mzubair.com/creating-an-android-app-with-maps-api-v2/" rel="nofollow">Creating an Android App with Maps API V2 for minSDK=8 (Android 2.2 Froyo).</a></li> <li><a href="http://mzubair.com/creating-an-android-app-with-maps-api-v2-for-minsdk11-android-23-0-honeycomb/" rel="nofollow">Creating an Android App with Maps API V2 for minSDK=11 (Android 3.0 HoneyComb).</a></li> </ol> <p>If you want to run it on Emulator <strong><a href="http://mzubair.com/android-how-to-make-the-emulator-run-maps-v2/" rel="nofollow">READ THIS POST.</a></strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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