开发者

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

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 an开发者_如何学Godroid: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


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).


You need to add Google API ,Follow this step to add google API in eclipse

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

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜