title: How to/Error in declaring google-play-services-component
body: <p>I am using eclipse/the Java ADT bundle and I am trying to get google maps api working. </p>
  
  <p>Referenced in the documentation to get google maps up and running is "setting up Google Play SDK" > "Referencing a library project for eclipse"</p>
  
  <p><a href="http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject" rel="nofollow">http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject</a></p>
  
  <p>At the very bottom of that page, after setting up the project properties, it says that I need to "declare library components in the manifest file"</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;manifest&gt;
    ...
    &lt;application&gt;
      ...
      &lt;activity android:name="com.example.android.tictactoe.library.GameActivity" /&gt;
      ...
    &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>so in my android manifest, I tried including this:</p>
  
  <pre><code>   &lt;activity android:name="com.example.android.MainActivity.library.google-play-services_lib" /&gt;
     &lt;activity android:name="com.example.android.MainActivity.library.google-play-services" /&gt;
  </code></pre>
  
  <p>However, the google play services library .jar has dashes included in its name, and in eclipse these dashes show up as errors (I get the red squigglies). </p>
  
  <p>Also, I'm trying to include this in the google maps sample project that came with the google play sdk download (under "extras"), so I'm not 100% sure if I have to do this step.</p>
  
  <p>How can I fix this?</p>