Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>com.google.android.gms.maps.MapFragment</code> is based on the Fragment class that is not in the support package. You need to change your xml to use <code>com.google.android.gms.maps.SupportMapFragment</code>.</p> <p>Or not use <code>SupportMapFragment</code> in your Activity. If you are looking for backwards (pre Honeycomb) Fragment support, I recommend changing the class in your xml layout to the <code>SupportMapFragment</code>. If not, consider casting that <code>Fragment</code> to just <code>MapFragment</code> in your activity.</p> <p>Now, for the second crash, the map doesn't appear to be available. With the V2 map library you need to have the latest Google Play Services running on your device. Usually the Google Play app will automatically install this for you. If you are using an emulator I am afraid you are out of luck at the moment, see this answer to using Play Services with an emulator: <a href="https://stackoverflow.com/questions/14536595/how-to-download-google-play-services-in-a-android-emulator">How to download Google Play Services in an Android emulator?</a></p> <p>To avoid a crash, check out this <a href="https://developers.google.com/maps/documentation/android/map#verify_map_availability" rel="nofollow noreferrer">code sample</a>. Also, for a brief description of map availability, check out the <a href="http://developer.android.com/reference/com/google/android/gms/maps/SupportMapFragment.html" rel="nofollow noreferrer">second paragraph in the Class Overview</a>.</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.
 

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