AAPT: error: resource android:attr/lStar not found. (Solved)

When running the project today, an error was reported, as follows:

AAPT: error: resource android:attr/lStar not found.

I have increased the version of appcompat in the project , but I am using java, and it can run normally if the version is lowered

implementation 'androidx.appcompat:appcompat:1.5.1'

changed to

implementation 'androidx.appcompat:appcompat:1.2.0'

Guess you like

Origin blog.csdn.net/fromVillageCoolBoy/article/details/129481825