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

[Bug report] #1248

Open
christopherarm opened this issue Dec 20, 2024 · 1 comment
Open

[Bug report] #1248

christopherarm opened this issue Dec 20, 2024 · 1 comment

Comments

@christopherarm
Copy link

Version

3.6.3

Platforms

dart, Android

Device Model

Pixel 9 (Android 35)

flutter info

[✓] Flutter (Channel stable, 3.27.1, on macOS 15.1.1 24B91 darwin-arm64, locale en-DE)
    • Flutter version 3.27.1 on channel stable at /Users/christopherarm/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 17025dd882 (4 days ago), 2024-12-17 03:23:09 +0900
    • Engine revision cb4b5fff73
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/christopherarm/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/christopherarm/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
    • All Android licenses accepted.

How to reproduce?

I recently updated to the newest flutter version and then also updated to android sdk version 35. Now this error in photo_manager plugin stops me from using the android version of my app.

Logs

/photo_manager/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar(/com/fluttercandies/photo_manager/PhotoManagerPlugin.class)
[ +289 ms]     class file has wrong version 65.0, should be 61.0
[        ]     Please remove or make sure it appears in the correct subdirectory of the classpath.

Example code (optional)

No response

Contact

No response

@fluttercandies-dev
Copy link

AI Summary: The photo_manager plugin fails on Android with Flutter 3.27.1 and Android SDK 35 due to an incompatible Java class file version.

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

No branches or pull requests

2 participants