How to fix "Execution failed for task ':app:processDebugResources'. > Android resource linking failed"[Android/Flutter]
Today, I got the same error at my project which I was working on yesterday without any problem.
Some upgrade causes this error IMO, my solution is:
Open the project via Android Studio
Open
android/build.gradle
andandroid/app/build.gradle
Just correct things what IDE warns about, it usually warns your SDK, Kotlin and Gradle versions etc.
It's not mandatory but you can check your .bashrc exports or environment variables, sometimes it can fix some problems.
Edit: When you are updating your SDK versions, don't forget to upgrade also your project dependencies.