Skip to content

FAQ꞉ For Developers

Fries_I23 edited this page Jul 28, 2025 · 2 revisions

Meet "source value 8 is obsolete and will be removed in a future release" on building apk

If you see the messages below while building your Android app, it’s because Android Studio Ladybug upgrade has updated the JDK version to 21.

warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

These warnings are harmless; you can choose to ignore them or simply use JDK 17 instead of 21.

# macos arm64
brew install openjdk@17
flutter config --jdk-dir /opt/homebrew/opt/openjdk@17

  1. [2025-07-28] Migrated from: FriesI23/mhabit/docs/faq.md

Clone this wiki locally