-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
Steps to reproduce
There has been a report from Google:
Your app uses deprecated APIs or parameters for edge-to-edge
One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:
- android.view.Window.setDecorFitsSystemWindows
- android.view.Window.setStatusBarColor
- android.view.Window.setNavigationBarColor
- android.view.Window.setNavigationBarDividerColor
These start in the following places:
- com.google.android.material.internal.c.a
- io.flutter.embedding.android.g.I
- io.flutter.plugin.platform.d.a
- io.flutter.plugin.platform.h.C
Stacktrace/Logs
No need of stacktrace
Flutter version
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184 (3 months ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3
Expected results
There is no deprecated APIs being used
Actual results
App uses deprecated APIs or parameters for edge-to-edge
Code sample
No need of code example
Screenshots or Video
No have any video
Logs
Logs
[Paste your logs here]Flutter Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 13.5 22G74 darwin-arm64)
• Flutter version 3.24.3 on channel stable at /opt/homebrew/Caskroom/flutter/3.19.4/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184 (3 months ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/longnmp/Library/Android/SDK
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
[✓] VS Code (version 1.95.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.100.0
[✓] Connected device (7 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 15 (API 35) (emulator)
• iPhone SE (mobile) • 00008110-000E10381A00401E • ios • iOS 17.5.1 21F90
• iPhone 11 pro (mobile) • 00008030-0005251C0C7A802E • ios • iOS 17.6.1 21G93
• iPhone SE (3rd generation) (mobile) • 336316DA-DFE8-4E62-BBD6-0DFC8855C4B7 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.5 22G74 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 13.5 22G74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.140
! Error: Browsing on the local area network for Ahn cin ❤️. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for Sally’s. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!