Skip to content
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

Unresolved reference: FileUtils #83

Open
ToniHeiss opened this issue Oct 19, 2023 · 2 comments
Open

Unresolved reference: FileUtils #83

ToniHeiss opened this issue Oct 19, 2023 · 2 comments

Comments

@ToniHeiss
Copy link

e: file:///C:/Users/..../AppData/Local/Pub/Cache/hosted/pub.dev/file_saver-0.2.9/android/src/main/kotlin/com/incrediblezayed/file_saver/Dialog.kt:79:33 Unresolved reference: FileUtils

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':file_saver:compileDebugKotlin'.

I get this error when building.

Additionally, is there a reason you set the required compile SDK to 34? The default flutter sdk of the newest version is not even that high.

@MengLingWenBlog
Copy link

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

'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

@javieritis
Copy link

javieritis commented Nov 2, 2023

Same problem with 0.2.9 release.... any solution?

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

3 participants