Skip to content

Failed to build for targetSdkVersion and compileSdkVersion 31 #87

@lohanbodevan

Description

@lohanbodevan

🐛 Bug Report

When trying to build Flutter app targeting and compiling for Android SDK version 31, build fails with the following error

* What went wrong:
Execution failed for task ':geocoding:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/Users/xxxx/.gradle/caches/transforms-3/d647e4cf153df5c584ca88f6d0c0ffec/transformed/core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

Configuration

Version: 2.0.2
Flutter: 2.10.1

Platform:

  • 📱 iOS
  • 🤖 Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions