FlutterMobileAdsWrapper.java uses or overrides a deprecated API.
See original GitHub issuePlugin Version
2.0.1
Steps to Reproduce
- Run
flutter create bug
. - Add google_mobile_ads
- flutter build appbundle --release
Expected results: No warnings
Actual results:
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_mobile_ads-2.0.1\android\src\main\java\io\flutter\plugins\googlemobileads\FlutterMobileAdsWrapper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Logs
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.19044.2006], locale en-US)
• Flutter version 3.3.2 on channel stable at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e3c29ec00c (33 hours ago), 2022-09-14 08:46:55 -0500
• Engine revision a4ff2c53d8
• Dart version 2.18.1
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\Users\dejan\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[!] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.4)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.3.32901.215
• Windows 10 SDK version 10.0.22000.0
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• 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
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code (version 1.71.2)
• VS Code at C:\Users\dejan\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.48.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.2006]
• Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.80
• Edge (web) • edge • web-javascript • Microsoft Edge 105.0.1343.33
[√] HTTP Host Availability
• All required HTTP hosts are available
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
Flutter: Java uses or overrides a deprecated API
Flutter: Java uses or overrides a deprecated API ... I've been trying to use the auth, firestore firebase in an Android / IOS...
Read more >[Solved] java uses or overrides a deprecated api. recompile with
In this post, I will be sharing about warning message uses or overrides a deprecated api. recompile with -Xlint:deprecation for details. First, we....
Read more >UnityPlayerActivity.java uses or overrides a deprecated API ...
I just imported facebook sdk to unity for ad campaign for my app. But I get errors when I try to build an...
Read more >Tickets - Fluuter build apk giving error - Mighty Themes
Note: Some input files use or override a deprecated API. ... /plugins/googlemobileads/FlutterMobileAdsWrapper.java uses or overrides a deprecated API.
Read more >integration tests "Some input files use or override a ...
The new output: > Task :webkit:integration-tests:testapp:compileReleaseJavaWithJavac [ant:jacocoReport] Note: Some input files use or override a deprecated API.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was fixed in 2.2.0
JFYI: Not fixed in version 2.1.0