Android Studio realizes apk generation and replaces the startup icon

Android Studio realizes apk generation and replaces the startup icon

apk generation

Click "build" in the toolbar, select "build apk" and
Insert picture description here
click "locate" in the status bar below to go directly to the location of the generated apk file and
Insert picture description here
Insert picture description here
transfer it to the phone for installation. The
Insert picture description here
opening effect is
Insert picture description here

Settings icon

Insert picture description here
Copy the picture you want to change to the "mipmap" file, then modify the code in the AndroidManifest.xml file, and change the xxx in "android:icon="@mipmap/xxx" to the changed picture name. Then generate it The apk file is transferred to the mobile phone for installation. The
specific effect is
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/java_creater/article/details/114684535