I've just spent numerous hours constructing an icon for an Android app I'm working on, but can't get it to show up for the app in the emulator.
I've put it in res/drawable-hdpi, res/drawable-mdpi, res/drawable-ldpi in the respective sizes as defined in http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html
The manifest contains the line:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
Any ideas as to why it isn't showing up?
Step 1: Open the “Apps” or “Applications menu” from your Settings menu. Step 2: Tap the app whose icon you would like to be able to see again. Step 3: If you see a button that says “Enable/Start”, this is likely to be the source of your problem. tap “Enable/Start” to get your icons back again.
Open Settings and under Manage app, search for the app whose icon is missing, and tap to open it. Do you notice an option to Start/Enable the app? It could be under the App Info menu, depending on the make and model of your phone. If yes, most probably, the app is disabled, and you need to re-enable it.
I would like to elaborate on the answers of @Britton Pentakill and @arnav bhartiya because I could solve my problem using their answers. I added more actions on my MainActivity
because Android Studio was complaining that "App not indexable by Google" and I also wanted it to be indexable.
Wrong AndroidManifest.xml
:
<intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> <action android:name="android.intent.action.SEND"/> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:scheme="https" android:host="siara.cc" android:pathPrefix="/CrossCalc" /> </intent-filter>
So when I published my app, people could not find my App Icon on their device, no Open button after installing on Play console, even if it did pass review and published on play store (it took 7 days).
Then when I read their answers, I corrected and now I am able to see the icon for opening my app:
Correct:
<intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:scheme="https" android:host="siara.cc" android:pathPrefix="/CrossCalc"/> </intent-filter>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With