Cannot find com.google.android.maps in Eclipse

My Eclipse project cannot find the class, I can only create it. I added this

<?xml version="1.0" encoding="utf-8"?>

  

<application android:icon="@drawable/icon" android:label="@string/app_name">
<uses-library android:name="com.google.android.maps"/>  
    <activity android:name=".Main"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

</application>

So, I thought this would work now ?;) Also installed any SDK, downloaded almost 40 minutes now

+3
source share
2 answers

Go to Project → Properties → Android, make sure that the goal of building the project you have chosen is one of those Google APIs API (downloaded by the SDK manager in the "Third-party add-ons" section).

+8
source

You need to add the Google API. Follow this step to add the Google APIs in eclipse. enter image description here

enter image description here

0
source

All Articles