Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Perhaps you are trying to use <code>MapFragment</code> on a device that is not running Android 3.0+. <code>MapFragment</code> is for use with an <code>Activity</code> and the native fragment implementation from API Level 11. <code>SupportMapFragment</code> is for use with a <code>FragmentActivity</code> and the fragment backport supplied by the Android Support Library.</p> <hr> <p><strong>UPDATE</strong></p> <p>Upon further review, the problem is probably two-fold:</p> <ol> <li><p>You attempted to attach <code>google-play-services.jar</code> to your project, instead of <a href="http://developer.android.com/google/play-services/setup.html" rel="nofollow">following the instructions and attaching the Play Services Android library project to your project</a>.</p></li> <li><p>You did #1 above by messing with your build path directly, instead of copying the JAR to <code>libs/</code>.</p></li> </ol> <p>Undo what you did originally. Then, <a href="http://developer.android.com/google/play-services/setup.html" rel="nofollow">follow the instructions to attach the Android library project to your project</a> (which, as a side effect, will properly set up that JAR for you).</p> <p>Since it appears that you are doing a command-line build, you will need to create the command-line build files for the Android library project, which Google elected not to ship (grrrrrrrrrrrrrrr). Run:</p> <pre><code>android update project -p /home/ryan/android-sdk-linux/extras/google/google_play_services/libproject/googl‌​e-play-services_lib </code></pre> <p>to create the necessary files.</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. VO
      singulars
      1. This table or related slice is empty.
    2. 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