flutterlocation icon indicating copy to clipboard operation
flutterlocation copied to clipboard

Some Java api is deprecated API Please updated

Open krButani opened this issue 2 years ago • 3 comments

Note: G:\AAAInstallation\src\flutter.pub-cache\hosted\pub.dartlang.org\location-4.4.0\android\src\main\java\com\lyokone\location\FlutterLocation.java uses or overrides a deprecated API

krButani avatar Jun 09 '22 10:06 krButani

Same here :

Note: D:\src\flutter.pub-cache\hosted\pub.dartlang.org\location-4.4.0\android\src\main\java\com\lyokone\location\FlutterLocation.java uses or overrides a deprecated API.

EBBozkurt avatar Jun 10 '22 08:06 EBBozkurt

Same here:

Note: /Users/ken/.pub-cache/hosted/pub.dartlang.org/location-4.4.0/android/src/main/java/com/lyokone/location/FlutterLocation.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.


Mine works after I commented out wherever there is location: ^4.3.0 (or which ever) and ensured it is setup as location: ^4.3.0, not as follows: location: path: ../

Output results: Running "flutter pub get" in lessimp... Launching lib/main.dart on LM Q610 FGN in debug mode... Running Gradle task 'assembleDebug'... ✓ Built build/app/outputs/flutter-apk/app-debug.apk. D/FlutterLocationService(25199): Creating service. D/FlutterLocationService(25199): Binding to location service. Debug service listening on ws://127.0.0.1:55018/9v4R7eMaKJ8=/ws Syncing files to device LM Q610 FGN... [GETX] Instance "GetMaterialController" has been created [GETX] Instance "GetMaterialController" has been initialized I/flutter (25199): --none-- pushing / I/flutter (25199): --authCubit-- started listenning to auth changes I/flutter (25199): initing : Size(411.4, 822.9) I/flutter (25199): --authCubit-- new user state in userState listenner I/flutter (25199): --authCubit-- user sate changed to null I/flutter (25199): --none-- pushing /login [GETX] REPLACE ROUTE null [GETX] NEW ROUTE null I/flutter (25199): initng login page I/Timeline(25199): Timeline: Activity_idle id: android.os.BinderProxy@6f0109 time:60740330 I/TRuntime.CctTransportBackend(25199): Making request to: https://firebaselogging.googleapis.com/v0cc/log/batch?format=json_proto3 D/NetworkSecurityConfig(25199): No Network Security Config specified, using platform default I/TRuntime.CctTransportBackend(25199): Status Code: 200

kenaitian avatar Jun 17 '22 14:06 kenaitian

same too

arifikhsan avatar Jul 02 '22 09:07 arifikhsan

Yep, getting the same deprecated API error.... is this going to get fixed?

matt-in-brissy avatar Oct 05 '22 03:10 matt-in-brissy