我在eclipse中制作一个android应用程序,并且我想将其上传到Google Play商店。如何,商店说我需要添加一个图标。我编程的图标,但它提供了以下错误:找不到与给定名称相匹配的资源(在'icon'中,值为....)
error: Error: `No resource found that matches the given name (at 'icon' with value '@drawable-hdpi/ic_launcher')`.
我不知道如何解决它,像在我的绘制,华电国际文件夹中,并正确拼写的一切。
有人可以帮我吗?
这是我的AndoidManifest代码:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rodekruis"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:icon="@drawable-hdpi/ic_launcher" >
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.DEFAULT" />
<category android:name="android.intent.category.MAINACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".BezoekActivity"
android:label="@string/title_activity_bezoek" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.BEZOEKACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".AfspraakActivity"
android:label="@string/title_activity_afspraak" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.AFSPRAAKACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".ContactActivity"
android:label="@string/title_activity_contact" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.CONTACTACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".MeningActivity"
android:label="@string/title_activity_mening" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.MENINGACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".RouteActivity"
android:label="@string/title_activity_route" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.ROUTEACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".SpecialistenActivity"
android:label="@string/title_activity_specialisten" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.SPECIALISTENACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".BWCActivity"
android:label="@string/title_activity_bwc" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.BWCACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".AgendaActivity"
android:label="@string/title_activity_agenda" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.AGENDAACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".InfoActivity"
android:label="@string/title_activity_informatie" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.INFOACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".VriendActivity"
android:label="@string/title_activity_vriend" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.VRIENDACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".FoldersActivity"
android:label="@string/title_activity_folders" >
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.FOLDERSACTIVITY" />
</intent-filter>
</activity>
<activity
android:name=".NieuwsActivity"
android:label="@string/title_activity_nieuws">
<intent-filter>
<action android:name="android.intent.category.DEFAULT" />
<category android:name="com.example.rodekruis.NIEUWSACTIVITY" />
</intent-filter>
</activity>
</application>
</manifest>
谢谢,这工作。另一件事,我现在可以运行我的项目,但商店仍然告诉我必须为我的项目添加一个图标。你知道为什么,或者我如何解决这个问题? –
你可以复制/粘贴整条信息吗? –
我已将图片添加到我的帖子中。它用英语说:你必须在APK上添加一个图标。上传另一个APK –