Reputation: 143
I know that this question is there few times, but I can´t find answer for my case.
my folder '@drawable is empty, but even if i change it to another like mipmap - becou there is scaled icon (i dont know why are in this folder and not in drawable).
but if I change it and do build or clean or synch with gradle, I keep getting same eror and the line in manifest it keep geting reset to android:icon="@drawable/ic_launcher".
Question is maybe little messy, but I dont know what to do :( thanks
Upvotes: 1
Views: 4569
Reputation: 4398
I'm going to assume you are using Android Studio as your IDE. Starting in Android Studio version 1.1, launcher icons are placed in mipmap folders. You are getting the error because you are looking for the launcher icon in the wrong folder.
Change
android:icon="@drawable/ic_launcher"
To
android:icon="@mipmap/ic_launcher"
Upvotes: 2