Skip to content

build apk fail  #3

Description

@zc10917

An error occurs when executing these commands.

flutter run --release
flutter build apk
flutter build apk --split-per-abi
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':keyboard_visibility:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
C:\Users\rollrat.gradle\caches\transforms-2\files-2.1\615cbc3b009c6ace60b4a000b7c5707b\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.

 C:\Users\rollrat\.gradle\caches\transforms-2\files-2.1\615cbc3b009c6ace60b4a000b7c5707b\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 33s

the compileSdkVersion 27 must to be 28 to build android because in build.gradle is 28 and i face issue because that.

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