Member-only story
Flutter — “error: resource android:attr/lStar not found” — SOLVED
Execution failed for task ‘:app:processDebugResources’.
What went wrong:
Execution failed for task ‘:app:processDebugResources’.
Android resource linking failed /Users/xxx/.gradle/caches/transforms-2/files-2.1/5d04bb4852dc27334fe36f129faf6500/res/values/values.xml:115:5–162:25: AAPT: error: resource android:attr/lStar not found.
error: failed linking references.
Fix:
And add this code snippet in your android/build.gradle file at the very end.
configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}
FYI: Just recently the original author of audioplayers package fixed this issue in his recent PR. It has been fixed in audioplayers version 0.20.1
, so if your issue is related to audioplayers, do upgrade.
Hope this helped 🙏
Support me by becoming a Medium member 🥳, and get access to unique programming articles that will enhance you skills.
Become a Medium member — 🖖 Live long and prosper 🖖