Hi I added icons to android/app/src/main/res/..., the app icon showing perfectly in home screen like first image, but when minimize the app it showing default app icon like second image. how can change that icon also.
I cleaned build folder, gradlew and reinstalled the app but no changes.
Please help me on this
put this on AndroidManifest.xml and try
<application
...
android:icon="#drawable/ic_launcher"
...
</application>
also hope you update the icons properly. please refer this
https://code.tutsplus.com/tutorials/how-to-update-the-launcher-icon-for-your-android-app--cms-30624
I'm not sure if this comes after you setup androidManifest.xml but you will need icons in these two folders:
android/app/src/main/res/mipmap.
ios//Images.xcassets/AppIcon.appiconset
I've used the resize-reactnative-launcher-icon shell scrip to generate my icons. It takes a png image and creates the 25 variations you need by size and resolution.
bash resize.sh my-cool-new-app-logo.png
Related
The launch icon is not display well on devices with OS 8.0/8.1 Oreo.
I make everything like here Launcher Icon is not Shown in Oreo 8.0/8.1, but the result is that:
Can someone help with that?
After nougat there are two layers for an icon one is foreground and one is background What you need to do is Right click on the app icon then go to new -> image asset -> choose launcher icons -> then there you can choose background and foreground layer then finish the process and in manifest as follows -
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
you will find both the icons in mipmap folder in your resources
May be the resolution of the icon is not proper. You can generate icon with proper resolution and other properties try this. Here you can choose and edit app icons as per android icon specifications.
The solution was just to upload a svg file for the foreground layer and put some color for the background layer.
Now the launch icon is shown correct.
Hope this can help to someone else ;)
I have replaced the standard android studio app icon (ic_launcher) with my own(one for each dimension in the mipmap folders) and deleted the ic_launcher round icons since i won't be using round icons on my app. The problem is that although the icons show up correctly in the res->mipmap->ic_launcher folder, when i install the app on my phone the app's icon is the default one and not the one i chose. Also, if you go into tje phone's app info, the app's icon shows up correctly. I have no clue on why this is happening. Any idea?
Go to manifest and look for roundicon and dont forget to change there.
Go to manifest and replace default icon name with yours here:
android:icon="#mipmap/ic_launcher"
android:roundIcon="#mipmap/ic_launcher_round"
When ever I load my app on android I get a grey screen with the words "player needed"(the apps name) across the top for about a second before my app actually starts. It does not appear on the development testing app only when I do an actual build, and then only when I start the app. If I change windows back and forth it does not appear again. How can I remove this?example of grey screen
Thank you!
You could try this, worked for me, it's something about the MainActivity theme on Android.
In the "platforms\android" folder under your project, open the AndroidManifest.xml and search for android:theme inside the <activity> tag that contains android:name="MainActivity" and change the default value (that is android:theme="#android:style/Theme.DeviceDefault.NoActionBar") to android:theme="#android:style/Theme.Translucent". Save the file and build your project again, the grey screen should desapear.
I created app from phonegap desktop. How can I change its default logo for android and windows.
Screen at build.phonegap.com says
Your application's details are bound to the config.xml file in your application package. To edit these details, change that file and push it back up to us.
you can see brief info about my problem.
http://community.phonegap.com/nitobi/topics/how-can-i-change-logo-of-my-app-it-showing-default-icon
Maybe you can try to build your project and then go to YourApp/platforms/android
and there you can see the AndroidManifest.xml. Inside the file there is a line:
<application android:hardwareAccelerated="true" android:icon="#drawable/icon" android:label="#string/app_name" android:supportsRtl="true">
As you can see the icons are in drawable/icon, so you have to go to res/drawable and you just have to change the icon.png.
Then you have to rebuild your app so the changes take place.
Note: there are different drawable folder inside the res folder, you can change all off them if you want. Some of them are the splash screen.
Let me know if that works :)
i have a application can't show ic_launcher. before asking question,i do like those:
1. In my AndroidManifest.xml like this
<application android:icon="#drawable/ic_launcher" ...>
...
</application>
there's a pic called ic_launcher in folder drawable.
but in launcher application's icon always can't show ic_launcher.
my android device can show xxhdpi source. so i remove ic_launcher to folder xxhdpi, it can work fine. i want to know why.
please help,thank you .
First Clean and build again your project. If you still facing same issue and if you are using Eclipse IDE then press "ctrl+space" after you typed android:icon="#drawable/ . All available image resource should come as a list. Then you choose appropriate icon for your application and re-run your application.