liyufengrex/flutter_subscreen_plugin

flutter 版本 version: 3.7.30+307300716 报“Execution failed for task ':flutter_subscreen_plugin:compileDebugKotlin'.”错误

Opened this issue · 3 comments

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_subscreen_plugin:compileDebugKotlin'.

Error while evaluating property 'filteredArgumentsMap' of task ':flutter_subscreen_plugin:compileDebugKotlin'
Could not resolve all files for configuration ':flutter_subscreen_plugin:debugCompileClasspath'.
> Failed to transform flutter.jar to match attributes {artifactType=android-classes-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: C:\Program Files\AndroidTool\FVM\default\bin\cache\artifacts\engine\android-arm\flutter.jar.
> Transform's input file does not exist: C:\Program Files\AndroidTool\FVM\default\bin\cache\artifacts\engine\android-arm\flutter.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.

BUILD FAILED in 23s

┌─ Flutter Fix ─────────────────────────────────────────────────────────────┐
│ This issue appears to be flutter/flutter#58247. │
│ Fix this issue by adding the following to the file │
│ D:\2024_Project\zservice\android\app\build.gradle: │
│ android { │
│ lintOptions { │
│ checkReleaseBuilds false │
│ } │
│ } │
└───────────────────────────────────────────────────────────────────────────┘
Error: Gradle task assembleDebug failed with exit code 1

已解决

已解决

相同问题,请问如何解决

执行

flutter precache