Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find com.google.android.maps in Eclipse

Tags:

android

maps

My Eclipse project is not able to 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 it would work now? ;) Also installed any SDK, downloaded nearly 40mins now

like image 789
Liam Schnell Avatar asked Mar 04 '26 21:03

Liam Schnell


1 Answers

Go to Project -> Properties -> Android, make sure the Project Build Target you have selected is one of the Google APIs ones (downloaded by the SDK manager under the "Third-Party Add-Ons" section).

like image 190
Yoni Samlan Avatar answered Mar 06 '26 11:03

Yoni Samlan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!