"Android" Android Studio3.1 Mac version set project Desktop icon

Source: Internet
Author: User

Recently the project was in beta, with a lot less work, and a new Android Studio was installed to write about Android. Create a new project and want to set up a desktop icon. I first prepared my own icon picture, and then copied and pasted into the res/mipmap-hdpi folder, and then in Androidmanifest the address of the icon to my own image named, run, found that the simulator all the icons are round, my picture is square, It looks like a round white with my square icon in it and then checks the Internet for Android icon adaptation. Android Studio does provide a way to adapt, there are many online, but I fell into a hole, first to introduce the icon adaptive configuration, first create a new image Asset,

After you select Image Asset,

Select the picture of the icon you want to set in place of the callout. As I said earlier, I have copied the icon to the Res/mipmap-hdpi folder, and then I went there to select the picture, but I did not paste it into the picture, and then I directly right-click the res/mipmap-hdpi folder, select the Display folder, see the picture there. That is, in the Set icon selection path there can not choose their own icon, and then for a long time, the icon has been set not successful, finally I chose the path of the picture on my Computer path, and then found that the right picture no longer show the default icon is my own icon, and then click Next, Click on the Finish,app icon to set it up.
Say the main pit point, icon image has been copied and pasted under the project, but in the selection of pictures to go to the path of the picture can not see the picture. If you encounter this situation, do not first put the picture in the project, set the time to directly select the picture on it.
As a result of the development of Android soon, in the rookie stage, I do not know what the cause of this, there are passing the great God can give me answers to doubts. In addition, I have used the Android studio2.x version, the setting icon is not encountered this problem.

"Android" Android Studio3.1 Mac version set project Desktop icon

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.