The first step before changing the logo, it is highly recommended to delete the mipmap folder first
Then, after you delete the mipmap folder, the next steps are as follows:
Open Android Studio → File → New → Image Asset
You can choose 2 types of your icon type, that is Launcher Icon (Adaptive and Legacy) or (Legacy Only)
Recommended to use Launcher Icon (Adaptive and Legacy)
Browse and choose your image file icon (.png) format with square dimension and start customize your icon
Make sure the resource name is "ic_launcher" → Next
Make sure the selected Source Directory is "Main" → Finish