4
I’m making an application, but when I install it on my phone, the icon does not appear.
I have no idea what it might be, the ic_laucher
is there in the drawable folders.
What can be?
Manifest
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.myfirstapp.MainActivity" />
</activity>
<activity
android:name=".TelaInicial"
android:label="@string/title_activity_tela_inicial" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Print of the menubar
Like this your Manifest?
– Wakim
updated with the manifest
– Ilgner de Oliveira
I would recommend removing the attribute
logo
ofActivity
, because the very logo ofapplication
already works.– Wakim
even without appearing
– Ilgner de Oliveira
Remove android:icon="@drawable/ic_launcher" from the bottom and test.
– War Lock
Could you show the style ? could be that you have extended some style that does not have the logo or some configuration overwrites it.
– Lucas Queiroz Ribeiro
You want your icon to appear where?
– viana