When you use files from resources you do not specify which DPI folder it should use. Android will on its own match the device DPI to the folder. Hence, writing mipmap-mdpi
is wrong, it should simply be mipmap
.
Change your icon to @mipmap/myicon
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…