Android release build error
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
configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}
add this in the plugin build.gradle
