Unknown attribute android:scaleType


enter image description here

This is the error. As shown in the image. This is not letting the app run.
This happens when I set the compile sdk version to 33. What to do?

enter image description here

Thanks in advance.


You can either ignore it or upgrade to Android Studio – Dolphin; it is a known bug. I had literally hundreds of these Unknown Attribute errors in my project, but they went away when I upgraded to Dolphin v2021.3.1.

Here’s a link to Google’s issue tracker indicating it is resolved in Dolphin: https://issuetracker.google.com/issues/241460885

Answered By – shagberg

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published