Skip to content

D8: Cannot constrain type: @Nullable java.io.FileInputStream {} for value: v52 by constraint: INT #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xiaobaoyihao opened this issue Aug 10, 2023 · 1 comment

Comments

@xiaobaoyihao
Copy link

Task :app:mergeExtDexOnlineDebug
ERROR:/Users/dingbaosheng/.gradle/caches/transforms-3/13132e71f6d89bac8959c53969d01db5/transformed/jetified-finapplet-2.41.5-runtime.jar: D8: Cannot constrain type: @nullable java.io.FileInputStream {} for value: v52 by constraint: INT

  • What went wrong:
    Execution failed for task ':app:mergeExtDexOnlineDebug'.

Could not resolve all files for configuration ':app:onlineDebugRuntimeClasspath'.
Failed to transform finapplet-2.41.5.aar (com.finogeeks.lib:finapplet:2.41.5) to match attributes {artifactType=android-dex, asm-transformed-variant=onlineDebug, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: /Users/dingbaosheng/.gradle/caches/transforms-3/13132e71f6d89bac8959c53969d01db5/transformed/jetified-finapplet-2.41.5-runtime.jar.
> Error while dexing.

构建环境:
gradle-7.3.3-all.zip
gradle插件:com.android.tools.build:gradle:7.2.0
kotlin;1.6.21: classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
集成finapplet:2.41.5

大家没这问题吗?

@nextcj
Copy link

nextcj commented Jul 8, 2024

看来用 FinClip 的人还是少啊,这么久了还没人回答...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants