flutter release apk error :Execu

2021-03-05  本文已影响0人  Android_开发工程师

问题

Execution failed for task ':app:lintVitalRelease'.

Could not resolve all artifacts for configuration ':app:profileRuntimeClasspath'.
Failed to transform libs.jar to match attributes {artifactType=processed-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.

解决方法

run :

flutter build apk --profile
then 
flutter build apk --release 

solves the issue.

上一篇 下一篇

猜你喜欢

热点阅读