Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android release build error #65

Open
jargalbat opened this issue Sep 23, 2022 · 1 comment
Open

Android release build error #65

jargalbat opened this issue Sep 23, 2022 · 1 comment

Comments

@jargalbat
Copy link

The error occurred on the android release build. iOS is fine.

FAILURE: Build failed with an exception.

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

  • flutter doctor
    [✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-MN)
    • Flutter version 3.0.5 at /Users/me/packages/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (2 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

@sungentim
Copy link

configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}
add this in the plugin build.gradle
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants