Reputation: 49
I can not build release apk, however i can build apk in debug mode. When i was in flutter channel master it was ok, but then, i switched to master and get this logs. Actually if i will switch back it will work fine, however some of my packages do not support features of master channel, so i must be on stable.
Error log presented under:
FAILURE: Build failed with an exception.
Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'. Failed to transform libs.jar to match attributes {artifactType=processed-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JetifyTransform: C:\educ-team\Educ-crossplatform\build\app\intermediates\flutter\debug\libs.jar. > Transform's input file does not exist: C:\educ-team\Educ-crossplatform\build\app\intermediates\flutter\debug\libs.jar. (See https://issuetracker.google.com/issues/158753935)
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 1m 54s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 115,3s
Gradle task assembleRelease failed with exit code 1
Upvotes: 1
Views: 110
Reputation: 716
try --dubug then --release and if this doesn't work try -- debug then --profile then --release
Upvotes: 1