Instructor: To change the app icon for Android, we can see the current icons by going to android/app/source/main/res and then looking in these folders with the different resolutions.
Instead of generating the different sizes by hand, let's go to the Android Asset Studio and select Launcher icon generator. Select the 1024x1024 pizza icon. We'll set the padding to 0percent and the background color to white.
Then we can download all the images. We'll unzip the download, copy all the different-sized folders, delete the old app icon folders, and paste in the new ones. Then we can make sure to uninstall the app from the emulator before building it again and launching with react-native-run-android.
Once it launches, we can close the app, find the app on the device, and verify the app icon has changed. Notice that unlike iOS, Android supports transparent backgrounds for app icons. We could have used a transparent background instead of a white one here.