79615041

Date: 2025-05-10 01:16:22
Score: 1.5
Natty:
Report link

The answer is in Message "error: resource android:attr/lStar not found".

Add the following code to app/android/build.gradle file solves the problem.

subprojects {
    afterEvaluate { project ->
        if (project.plugins.hasPlugin("com.android.application") ||
                project.plugins.hasPlugin("com.android.library")) {
            project.android {
                compileSdkVersion 34
                buildToolsVersion "34.0.0"
            }
        }
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Peter Thompson