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

Cause: Some packages use compileSdkVersion:30. In this SDK version, there are no attribute names lStar.

Solutions:

You get a package name in the error message where the attribute lStar is not found. Find the package name. In my case, that was flutter_sound.

Go to external libraries then find the package.

Then go to build.gradle. And change to compileSdkVersion to latest.

And Done…….

--

--

Ratul Hasan Ruhan
Ratul Hasan Ruhan

Written by Ratul Hasan Ruhan

Turning Code into Mobile Marvels ✨

No responses yet