美文网首页
Transform's input file does not

Transform's input file does not

作者: Android_开发工程师 | 来源:发表于2021-05-26 16:04 被阅读0次

    Execution failed for task ':app:lintVitalRelease'.

    Could not resolve all artifacts for configuration ':flutter:profileRuntimeClasspath'.
    Failed to transform libs.jar to match attributes {artifactType=processed-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
    Execution failed for JetifyTransform: /Users//AndroidStudio_work/flutter/.android/Flutter/build/intermediates/flutter/profile/libs.jar.
    Transform's input file does not exist: /Users//AndroidStudio_work/flutter/.android/Flutter/build/intermediates/flutter/profile/libs.jar. (See
    https://issuetracker.google.com/issues/158753935)

    解决方法 :

    如果错误是关于 profile/libs.jar 的,请在终端机中进行以下操作:
    
    flutter build apk --profile 
    flutter build apk --release 
    
    如果错误是关于 debug/libs.jar
    
    flutter build apk --debug 
    flutter build apk --release 
    

    执行以后 ,以后 编译就不报错了

    相关文章

      网友评论

          本文标题:Transform's input file does not

          本文链接:https://www.haomeiwen.com/subject/kliksltx.html