Skip to content

[Compile]: source value 8 is obsolete and will be removed in a future release #3764

@SerbanTudor04

Description

@SerbanTudor04

Operating System

MacOS 26.3

Plugin

android_intent_plus

Version

6.0.0

Flutter SDK

3.11.0

Compilation command

I was trying to build my app and I got this warning

flutter build appbundle
Resolving dependencies... 
Downloading packages... 
Got dependencies!
11 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 23672 bytes (98.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Note: /path_to_plugin/plus/androidintent/MethodCallHandlerImpl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.

Dart Dependencies

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  intl_phone_field: ^3.2.0
  # Monitoring
  sentry_flutter: ^9.14.0
  package_info_plus: ^9.0.0
  receive_sharing_intent: ^1.8.1
  # Firebase
  firebase_core: ^4.0.0
  firebase_analytics: ^12.1.1
  firebase_crashlytics: ^5.0.7
  firebase_messaging: ^16.1.1
  firebase_app_check: ^0.4.0+1
  timezone: ^0.11.0
  flutter_timezone: ^5.0.1

  # UI / UX
  cupertino_icons: ^1.0.8
  flutter_neumorphic_plus: ^3.5.0
  flutter_svg: ^2.2.2
  shimmer: ^3.0.0
  flutter_slidable: ^4.0.3
  flutter_markdown_plus: ^1.0.7
  flutter_launcher_icons: ^0.14.4
  flutter_native_splash: ^2.4.1

  # Auth / Security
  local_auth: ^3.0.0
  local_auth_android: ^2.0.0
  local_auth_darwin: ^2.0.0
  flutter_secure_storage: ^10.0.0

  # Storage / Cache
  shared_preferences: ^2.2.3

  # Device / OS
  device_info_plus: ^12.1.0
  3: ^6.0.0
  permission_handler: ^12.0.1
  path_provider: ^2.1.1

  # Networking / Data
  http: ^1.6.0
  web_socket_channel: ^3.0.3
  intl: ^0.20.2
  convert: ^3.1.2
  pointycastle: ^4.0.0
  mime: ^2.0.0
  http_parser: ^4.0.2
  # Files / Media / Share
  file_picker: ^10.3.9
  image_cropper: ^11.0.0
  image_picker: ^1.2.1
  share_plus: ^12.0.1
  url_launcher: ^6.3.0

  # Misc
  country_flags: ^4.1.2
  country_picker: ^2.0.20
  custom_refresh_indicator: ^4.0.1
  upgrader: ^12.5.0

Native dependencies


Compilation Error

Note: /Users/serbantudor04/.pub-cache/hosted/pub.dev/android_intent_plus-6.0.0/android/src/main/java/dev/fluttercommunity/plus/androidintent/MethodCallHandlerImpl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
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.

Flutter Doctor

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.2, on macOS 26.3 25D125 darwin-arm64, locale en-RO)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.2)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Connected device (1 available)
[✓] Network resources

! Doctor found issues in 1 category.

Checklist before submitting a bug

  • I searched issues in this repository and couldn't find such bug/problem
  • I Google'd a solution and I couldn't find it
  • I searched on StackOverflow for a solution and I couldn't find it
  • I read the README.md file of the plugin
  • I'm using the latest version of the plugin
  • All dependencies are up to date with flutter pub upgrade
  • I did a flutter clean
  • I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions