![]() Select the Parameters tab and just type -Xlint in the Parameters textfield before the text thats already is there. Then select JDK Tools in the list, then make sure 'Select Tool Type' is set to Compiler. Note: C:\flutter\.pub-cache\hosted\\video_player-0.10.8 1\android\src\main\java\io\flutter\plugins\videoplayer\VideoPlayerPlugin.java uses or overrides a deprecated API. In the menu select: Configure and then Options. Note: Some input files use or override a deprecated API. Note: C:\flutter\.pub-cache\hosted\\share-0.6.3 6\android\src\main\java\io\flutter\plugins\share\SharePlugin.java uses or overrides a deprecated API. r: timeout Issue is closed due to author not providing the requested details in time severe: crash Stack traces logged to the console. Note: C:\flutter\.pub-cache\hosted\\permission_handler-4.2.0 hotfix.3\android\src\main\java\com\baseflow\permissionhandler\PermissionHandlerPlugin.java uses or overrides a deprecated API. p: first party Plugins developed by the Flutter team. Note: Recompile with -Xlint:deprecation for details. Anyone knows what causes it? Is it something serious? Note: C:\flutter\.pub-cache\hosted\\path_provider-1.6.1\android\src\main\java\io\flutter\plugins\pathprovider\PathProviderPlugin.java uses or overrides a deprecated API. Public static void registerWith(PluginRegistry.Nowadays I am seeing this error while flutter run or flutter build commands. java: 17: error: cannot find symbol import com. C: Users danilojldeo Desktop MeuGithub controle-de-pragasandroidappsrcmainjavacomtracker MainApplication. ![]() ![]() Note: Recompile with-Xlint:unchecked for details. Note: Some input files use unchecked or unsafe operations. ![]() Users/bholendrasingh/Library/Android/flutter/.pub-cache/hosted//firebase_storage-8.1.1/android/src/main/java/io/flutter/plugins/firebase/storage/FlutterFirebaseStoragePlugin.java:38: warning: Registrar in PluginRegistry has been deprecated Note: Recompile with-Xlint:deprecation for details. Note: /Users/bholendrasingh/Library/Android/flutter/.pub-cache/hosted//firebase_auth-1.3.0/android/src/main/java/io/flutter/plugins/firebase/auth/FlutterFirebaseAuthPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:unchecked for details. For IntelliJ 13.1, go to File -> Settings -> Project Settings -> Compiler -> Java Compiler, and on the right-hand side, for Additional command. Note: /Users/bholendrasingh/Library/Android/flutter/.pub-cache/hosted//cloud_firestore-2.2.1/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java uses unchecked or unsafe operations. Note: /Users/bholendrasingh/Library/Android/flutter/.pub-cache/hosted//cloud_firestore-2.2.1/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API. Note: /Users/bholendrasingh/Library/Android/flutter/.pub-cache/hosted//firebase_core-1.2.1/android/src/main/java/io/flutter/plugins/firebase/core/FlutterFirebaseCorePlugin.java uses or overrides a deprecated API. There's an easy way out, JUST IGNORE THE WARNINGS. By 'recompile with -Xlint', the compiler means to inform you that you need to recompile your program like this: javac -Xlint abc.java If you do so, the compiler will tell you which methods are deprecated so you can remove your calls to them. These warnings are shown when you use a deprecated API for example (in ur case, it is clearly not due to deprecated API). The reason why the compiler is giving you this warning is because you have used a deprecated function call. Launching lib/main.dart on SM G973F in debug mode. Recompiling with -Xlint doesnt solve the problems, it just describes the warnings.
0 Comments
Leave a Reply. |