0

我正在研究 gps 教程,我在应用程序标签中的“@drawable/icon”处收到错误,错误是“找不到与给定名称匹配的资源”。我错过了什么?

<?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.ballincoliig.gun.powder.mills.walking.trail"
        android:versionCode="1"
        android:versionName="1.0" >

        <application
            android:icon="@drawable/icon" android:label="@string/app_name">
            <activity
                android:name="GPSActivity"
                android:label="@string/app_name" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />

                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>

            <uses-library android:name="com.google.android.maps" />
        </application>

        <uses-sdk android:minSdkVersion="4" />

        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        <uses-permission android:name="android.permission.INTERNET" />

    </manifest>
4

1 回答 1

1

Here you can get your answer Set icon for android application

You will see that there are some folders to update your icon according the resolution of the device you are developing.

于 2013-02-21T16:58:35.620 回答