flet icon indicating copy to clipboard operation
flet copied to clipboard

"url_launcher_android requires Android SDK version 34"

Open MoreiraCristiano opened this issue 1 year ago • 2 comments

Issue Report: Warning Message on Building .apk for Android

Description

After the latest update, while building the .apk for Android, the following warning messages are triggered:

  • "The plugin url_launcher_android requires Android SDK version 34."
  • "One or more plugins require a higher Android SDK version."

Steps to Reproduce

  1. Update to the latest version.
  2. Create a minimal flet app with flet create
  3. Run the build process for Android.

Expected Behavior

Creation of apk for android, like in version 0.19.0

Actual Behavior

The warning messages "The plugin url_launcher_android requires Android SDK version 34" and "One or more plugins require a higher Android SDK version" are displayed.

Its suggested by the compiler to add in %temp%/let_flutter_build_TAadAfShle\android\app\build.gradle file the following lines:

android {
  compileSdkVersion 34
  ...
}

But no work too.

Environment

  • Operating System: Windows 11
  • Android SDK Version: 34

Additional Information

  • This issue started occurring after the latest update.

MoreiraCristiano avatar Feb 15 '24 14:02 MoreiraCristiano

I am also seeing this. The app functionality seems unaffected. Is there a bug in the latest release of url_launcher_android?

joelrose2 avatar Feb 16 '24 12:02 joelrose2

That warning is now gone, but another one appeared 🥹

FeodorFitsner avatar Feb 17 '24 02:02 FeodorFitsner