Frequently Asked Questions (FAQs)
Why my Android App icon does not change?
Ans: This may happens mainly due to these reasons:a. Copied file in different directory
You must create a drawable folder to add the icon in image in Storage/App Project/App name/app/src/main/res. inside the res folder, like shown belowCopying in other folder needs changes in code inside the Android Manifest.XML
b. Name is not included in Android Manifest.XML
After copying the image in same directory you should replace the name of the image ic_launcher to your image name. Rename the image similar to ic_launcher like ip_launcher, id_launcher, etc. the name can also affect the process.c. Uppercase and lowercase is not properly mentioned
You should replace the name of the image ic_launcher to your image name. Rename the image similar to ic_launcher like ip_launcher, id_launcher, etc. the name can also affect the process. Consider the Uppercase and lowercase of the folder name and image name.d. Consider Image Extension
This is important thing you should do if your app icon did not work. The app icon must be in .png extension other extensions of image may not work in the app.e. Name of the project
Look the name of project you are working with and the name of the project you are copying the image file; sometimes you may work at one and copy file to another. This sounds funny but I too have been through this many times.Note: If you have any other questions comment below I will upload answer and notify you. Thank you. Once again watch the videos and try it you will definitely success.
0 comments:
Post a Comment