플러터 / 안드로이드 - APK 빌드 에러
< 플러터 / 안드로이드 - APK 빌드 에러 >
Failed to transform libs.jar to match attributes {artifactType=processed-jar, org.gradle.libraryelements=jar, org.gradle.usage=j
Failed to transform artifact aar to match attributes (artifacttype=jar). Failed to transform file 'some-lib-release.aar' to match attributes , The error seems to be caused by ... org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. ... Through a
www.google.co.kr
==> 해결책 2가지
1. https://stackoverflow.com/questions/62394034/flutter-can-not-build-android-apk2.
flutter: can not build android apk
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:lintVitalRelease'. Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. Fa...
stackoverflow.com
2. https://github.com/flutter/flutter/issues/58247
flutter build apk fails on an app using Android Gradle plugin 4.0 · Issue #58247 · flutter/flutter
Canonical Issue https://issuetracker.google.com/issues/141126614 Steps to Reproduce Run flutter create counter Update the app to use Android Gradle plugin 4.0.0 Run flutter build apk Logs FAILURE: ...
github.com