file - Cannot replace default icon in android studio -


the image trying replace default icon 512x512px .png. change icon go app/res [new; image asset;...]. won't let me replace or create new icon set in @drawable. recent thought might not have unlocked priveges able edit contents of drawable directly accessing it's location

any ideas?

the new version of android studio put default launcher icon(ic_launcher.png) in mipmap-xxx directories, copy , paste new icon these directores, , reference '@mipmap/you_icon', or in code 'r.mipmap.you_icon'. if still want use keyword 'drawable', create drawable folders(drawable-xxx), , put icon there, , reference '@drawable/you_icon', or in code 'r.drawable.you_icon'


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -