plus_plugins
plus_plugins copied to clipboard
Some android_intent_plus warnings when running the app
Platform
Android 9
Plugin
android_intent_plus
Version
4.0.3
Flutter SDK
3.16.5
Steps to reproduce
When the program is run, I encounter the warnings that I posted in the log, but this does not make the program not run or work.
Code Sample
No response
Logs
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\IntentSender.java:101: warning: [deprecation] resolveActivity(Intent,int) in PackageManager has been deprecated
return packageManager.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY) != null;
^
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:79: warning: [unchecked] unchecked cast
Bundle arguments = convertArguments((Map<String, ?>) call.argument("arguments"));
^
required: Map<String,?>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:80: warning: [unchecked] unchecked cast
Bundle arrayArguments = convertArrayArguments((Map<String, ?>) call.argument("arrayArguments"));
^
required: Map<String,?>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:165: warning: [unchecked] unchecked cast
bundle.putIntegerArrayList(key, (ArrayList<Integer>) value);
^
required: ArrayList<Integer>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:167: warning: [unchecked] unchecked cast
bundle.putStringArrayList(key, (ArrayList<String>) value);
^
required: ArrayList<String>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:169: warning: [unchecked] unchecked cast
bundle.putBundle(key, convertArguments((Map<String, ?>) value));
^
required: Map<String,?>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:185: warning: [unchecked] unchecked cast
ArrayList<Boolean> list = (ArrayList<Boolean>) value;
^
required: ArrayList<Boolean>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:192: warning: [unchecked] unchecked cast
ArrayList<Integer> list = (ArrayList<Integer>) value;
^
required: ArrayList<Integer>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:199: warning: [unchecked] unchecked cast
ArrayList<Long> list = (ArrayList<Long>) value;
^
required: ArrayList<Long>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:206: warning: [unchecked] unchecked cast
ArrayList<Double> list = (ArrayList<Double>) value;
^
required: ArrayList<Double>
found: Object
Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android\src\main\java\dev\fluttercommunity\plus\androidintent\MethodCallHandlerImpl.java:213: warning: [unchecked] unchecked cast
ArrayList<String> list = (ArrayList<String>) value;
^
required: ArrayList<String>
found: Object
Flutter Doctor
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale en-US)
• Flutter version 3.16.5 on channel stable at D:\sdk\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
• Engine revision 3f3e560236
• Dart version 3.2.3
• DevTools version 2.28.4
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at D:\sdk\android
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[!] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.2.6)
• Visual Studio at D:\Microsoft Visual Studio\Enterprise
• Visual Studio Enterprise 2022 version 17.2.32630.192
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 D:\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)
[√] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android\Android Studio1
• 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 17.0.6+0-b2043.56-9586694)
[√] Connected device (6 available)
• WAS LX1A (mobile) • 2XJDU17C14002494 • android-arm64 • Android 8.0.0 (API 26)
• SM G960N (mobile) • emulator-5554 • android-x64 • Android 9 (API 28)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3803]
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.199
• Edge (web) • edge • web-javascript • Microsoft Edge 120.0.2210.121
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
PS D:\workspace\flutter\zireh> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.2.6)
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 (version 2022.2)
[√] Connected device (6 available)
[√] Network resources
Checklist before submitting a bug
- [X] I searched issues in this repository and couldn't find such bug/problem
- [X] I Google'd a solution and I couldn't find it
- [X] I searched on StackOverflow for a solution and I couldn't find it
- [X] I read the README.md file of the plugin
- [X] I'm using the latest version of the plugin
- [X] All dependencies are up to date with
flutter pub upgrade - [X] I did a
flutter clean - [X] I tried running the example project