Code Monkey home page Code Monkey logo

Comments (5)

Lyokone avatar Lyokone commented on May 28, 2024

I'm looking into it

from flutterlocation.

Lyokone avatar Lyokone commented on May 28, 2024

Try to target SDK 21 or more

from flutterlocation.

JohnAherne avatar JohnAherne commented on May 28, 2024

Thanks for the prompt reply.

Unfortunately using sdk21 and upwards does not do the trick.

Just to be clear I am running the example App with a few print statements sprinkled to see what is happening.

NEXUS 5 API 25 ANDROID 7.1 with GOOGLE PLAY SERVICES

This is running an emulator Nexus 5 api 25 android 7.1 with Google Play Services.

With TargetSDK 19, 21, 25 location1.2 works fine.

I used sdk 19 since I wanted to see how far back I could go. But by and large I want to be starting at KitKat 4.1 as the minimum at the moment.

However, with location1.3 the VM crashes with Permission denied for all of sdk19,21,25.

In the pubspec.yaml for the dependency I use:
location: "1.2.0" or location: "1.3.0" just to make sure I force the correct version.

It does not always crash. Occasionally, the screen will display but the app is not running. No callbacks run. And I can't send a GPS update from the emulator screen.

Sometimes on the emulator, it looks like initPlatformState has location being set to null.

SAMSUNG DEVICE

RUN on a samsung with Android 4.1.2. It works with location 1.2 but fails with location 1.3

Here is the error log from running on the Samsung

[ +232 ms] Syncing files to device 5205668463db3102...
[ +3 ms] DevFS: Starting sync from LocalDirectory: 'C:\flutter_tests\gps_test2'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +54 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +24 ms] Compiling dart to kernel with 415 updated files
[ +4 ms] c:\flutter_dev\flutter\bin\cache\dart-sdk\bin\dart c:\flutter_dev\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root c:\flutter_dev\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages C:\flutter_tests\gps_test2.packages --filesystem-scheme org-dartlang-root
[+1054 ms] D/AndroidRuntime(11186): Shutting down VM
[ +3 ms] W/dalvikvm(11186): threadid=1: thread exiting with uncaught exception (group=0x40efe2a0)
[ +9 ms] E/AndroidRuntime(11186): FATAL EXCEPTION: main
[ ] E/AndroidRuntime(11186): java.lang.RuntimeException: Location permission denied
[ ] E/AndroidRuntime(11186): at com.lyokone.location.LocationPlugin$2.onLocationResult(LocationPlugin.java:141)
[ ] E/AndroidRuntime(11186): at com.google.android.gms.internal.location.zzau.notifyListener(Unknown Source)
[ ] E/AndroidRuntime(11186): at com.google.android.gms.common.api.internal.ListenerHolder.notifyListenerInternal(Unknown Source)
[ ] E/AndroidRuntime(11186): at com.google.android.gms.common.api.internal.ListenerHolder$zza.handleMessage(Unknown Source)
[ ] E/AndroidRuntime(11186): at android.os.Handler.dispatchMessage(Handler.java:99)
[ ] E/AndroidRuntime(11186): at android.os.Looper.loop(Looper.java:137)
[ ] E/AndroidRuntime(11186): at android.app.ActivityThread.main(ActivityThread.java:4867)
[ ] E/AndroidRuntime(11186): at java.lang.reflect.Method.invokeNative(Native Method)
[ ] E/AndroidRuntime(11186): at java.lang.reflect.Method.invoke(Method.java:511)
[ ] E/AndroidRuntime(11186): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
[ ] E/AndroidRuntime(11186): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
[ ] E/AndroidRuntime(11186): at dalvik.system.NativeStart.main(Native Method)
[ +94 ms] I/flutter (11186): GOT 2nd InitState
[ +42 ms] I/flutter (11186): LOCATION-1{accuracy: 16.760000228881836, altitude: 64.19999694824219, longitude: -0.1553803, latitude: 51.4649375}
[ +36 ms] I/flutter (11186): LOCATION CHANGED2{accuracy: 16.760000228881836, altitude: 64.19999694824219, longitude: -0.1553803, latitude: 51.4649375}
[ +64 ms] I/flutter (11186): LOCATION CHANGED{accuracy: 16.760000228881836, altitude: 64.19999694824219, longitude: -0.1553803, latitude: 51.4649375}
[+2085 ms] Updating files
[+5004 ms] DevFS: Sync finished
[ +4 ms] Synced 0.8MB.
[ +8 ms] _flutter.listViews: {}
[ +74 ms] Connected to _flutterView/0x5a7f

HUAWEI P20 DEVICE RUNNING Android 8.1.0 LOCATION 1.3

For good measure I thought I would try with a more recent phone just to bring everything more up to date.

Here the program runs and displays on the screen with a map. But the location onchanged callback does not fire.

And when the screen goes dark, the program produces a bunch of errors - see below.

[ +16 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as C:\Users\john2\AppData\Local\Android\sdk\platform-tools\adb.EXE
[ ] C:\Users\john2\AppData\Local\Android\sdk\platform-tools\adb start-server
[ +14 ms] Installing build\app\outputs\apk\app.apk...
[ ] C:\Users\john2\AppData\Local\Android\sdk\platform-tools\adb -s BPN0218423001699 install -r build\app\outputs\apk\app.apk
[+3522 ms] Success
[ +5 ms] C:\Users\john2\AppData\Local\Android\sdk\platform-tools\adb -s BPN0218423001699 shell echo -n 93ae53de8c46589e57b4367414f12975cc16b76d > /data/local/tmp/sky.com.example.gpstest2.sha1
[ +60 ms] EML L09 startApp
[ +3 ms] C:\Users\john2\AppData\Local\Android\sdk\platform-tools\adb -s BPN0218423001699 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.example.gpstest2/com.example.gpstest2.MainActivity
[ +147 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.gpstest2/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[ +491 ms] I/FlutterActivityDelegate( 6406): onResume setting current activity to this
[ +94 ms] Observatory URL on device: http://127.0.0.1:36030/
[ +20 ms] C:\Users\john2\AppData\Local\Android\sdk\platform-tools\adb -s BPN0218423001699 forward tcp:8101 tcp:36030
[ +29 ms] Forwarded host port 8101 to device port 36030 for Observatory
[ +5 ms] Connecting to service protocol: http://127.0.0.1:8101/
[ +262 ms] Successfully connected to service protocol: http://127.0.0.1:8101/
[ +13 ms] getVM: {}
[ +21 ms] getIsolate: {isolateId: isolates/251001233}
[ +2 ms] _flutter.listViews: {}
[ +287 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: gps_test2}
[ +2 ms] W/Activity( 6406): Can reqeust only one set of permissions at a time
[ +33 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.gpstest2/cache/gps_test2GLZBUB/gps_test2/)
[ +3 ms] Updating assets
[ +207 ms] Syncing files to device EML L09...
[ +3 ms] DevFS: Starting sync from LocalDirectory: 'C:\flutter_tests\gps_test2'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +52 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +24 ms] Compiling dart to kernel with 415 updated files
[ +3 ms] c:\flutter_dev\flutter\bin\cache\dart-sdk\bin\dart c:\flutter_dev\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root c:\flutter_dev\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages C:\flutter_tests\gps_test2.packages --filesystem-scheme org-dartlang-root
[+1029 ms] Updating files
[ +484 ms] DevFS: Sync finished
[ +1 ms] Synced 0.8MB.
[ +5 ms] _flutter.listViews: {}
[ +5 ms] Connected to _flutterView/0x7408726f18.
[ +1 ms] 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[ ] An Observatory debugger and profiler on EML L09 is available at: http://127.0.0.1:8101/
[ ] For a more detailed help message, press "h". To quit, press "q".
[ +493 ms] W/InputMethodManager( 6406): startInputReason = 1
[ +42 ms] I/FlutterActivityDelegate( 6406): onResume setting current activity to this
[ +8 ms] I/flutter ( 6406): GOT 2nd InitState
[ +4 ms] I/flutter ( 6406): LOCATION-1{altitude: 0.0, latitude: 51.4649296, accuracy: 11.114999771118164, longitude: -0.1553698}
[ +1 ms] I/flutter ( 6406): LOCATION CHANGED2{altitude: 0.0, latitude: 51.4649296, accuracy: 11.114999771118164, longitude: -0.1553698}
[+83301 ms] W/InputMethodManager( 6406): startInputReason = 8
[ +229 ms] V/ActivityThread( 6406): Finishing stop of ActivityRecord{f37b5c6 token=android.os.BinderProxy@23312a2 {com.example.gpstest2/com.example.gpstest2.MainActivity}}
[ +26 ms] W/libEGL ( 6406): EGLNativeWindowType 0x73f7d24010 disconnect failed
[+1343 ms] W/InputMethodManager( 6406): startInputReason = 7
[ +21 ms] D/mali_winsys( 6406): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
[ +2 ms] W/libEGL ( 6406): load: so=libEGL_vr.so
[ ] W/libEGL ( 6406): dlopen failed: library "libEGL_vr.so" not found
[ ] W/libEGL ( 6406): load: so=libEGL_vr.so
[ ] W/libEGL ( 6406): dlopen failed: library "libEGL_vr.so" not found
[ ] W/libEGL ( 6406): load: so=libEGL_vr.so
[ ] W/libEGL ( 6406): dlopen failed: library "libEGL_vr.so" not found
[ ] W/libEGL ( 6406): load: so=libEGL_vr.so
[ ] W/libEGL ( 6406): dlopen failed: library "libEGL_vr.so" not found
[ +14 ms] I/FlutterActivityDelegate( 6406): onResume setting current activity to this
[+29958 ms] W/InputMethodManager( 6406): startInputReason = 8
[ +251 ms] V/ActivityThread( 6406): Finishing stop of ActivityRecord{f37b5c6 token=android.os.BinderProxy@23312a2 {com.example.gpstest2/com.example.gpstest2.MainActivity}}
[ +18 ms] W/libEGL ( 6406): EGLNativeWindowType 0x73f3265010 disconnect failed
[+4796 ms] W/libEGL ( 6406): EGLNativeWindowType 0x73f69ff010 disconnect failed
[ +24 ms] V/ActivityThread( 6406): Handle window ActivityRecord{f37b5c6 token=android.os.BinderProxy@23312a2 {com.example.gpstest2/com.example.gpstest2.MainActivity}} visibility: false
[+5485 ms] I/FlutterActivityDelegate( 6406): onResume setting current activity to this
[ +17 ms] D/mali_winsys( 6406): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
[ +5 ms] D/mali_winsys( 6406): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
[ +2 ms] W/libEGL ( 6406): load: so=libEGL_vr.so
[ ] W/libEGL ( 6406): dlopen failed: library "libEGL_vr.so" not found
[ +3 ms] I/chatty ( 6406): uid=10142(com.example.gpstest2) identical 2 lines
[ +2 ms] W/libEGL ( 6406): load: so=libEGL_vr.so
[ ] W/libEGL ( 6406): dlopen failed: library "libEGL_vr.so" not found
[ ] E/BpSurfaceComposerClient( 6406): Failed to transact (-1)
[ ] E/BpSurfaceComposerClient( 6406): Failed to transact (-1)
[ +39 ms] W/InputMethodManager( 6406): startInputReason = 1
[+20962 ms] ext.flutter.exit: {isolateId: isolates/251001233}
[ +103 ms] Application finished.
Terminate batch job (Y/N)?
^C
C:\flutter_tests\gps_test2>

HUAWEI P20 DEVICE RUNNING Android 8.1.0 LOCATION 1.2

Here the program runs and displays on the screen with a map. But the location onchanged callback does not fire.

[ +219 ms] Syncing files to device EML L09...
[ +3 ms] DevFS: Starting sync from LocalDirectory: 'C:\flutter_tests\gps_test2'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +51 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +24 ms] Compiling dart to kernel with 415 updated files
[ +3 ms] c:\flutter_dev\flutter\bin\cache\dart-sdk\bin\dart c:\flutter_dev\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root c:\flutter_dev\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages C:\flutter_tests\gps_test2.packages --filesystem-scheme org-dartlang-root
[+1305 ms] I/FlutterActivityDelegate( 7036): onResume setting current activity to this
[ +3 ms] W/InputMethodManager( 7036): startInputReason = 1
[ +2 ms] I/flutter ( 7036): GOT 2nd InitState
[ +2 ms] I/flutter ( 7036): LOCATION-1{altitude: 0.0, latitude: 51.4618698, accuracy: 400.0, longitude: -0.154828}
[ +2 ms] I/flutter ( 7036): LOCATION CHANGED2{altitude: 0.0, latitude: 51.4618698, accuracy: 400.0, longitude: -0.154828}
[+1980 ms] Updating files
[ +491 ms] DevFS: Sync finished
[ +1 ms] Synced 0.8MB.
[ +2 ms] _flutter.listViews: {}
[ +13 ms] Connected to _flutterView/0x7408726f18.
[ +1 ms] 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[ ] An Observatory debugger and profiler on EML L09 is available at: http://127.0.0.1:8100/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+39476 ms] Initializing hot reload...
[ +17 ms] Refreshing active FlutterViews before reloading.
[ ] _flutter.listViews: {}
[ +327 ms] Syncing files to device EML L09...
[ ] DevFS: Starting sync from LocalDirectory: 'C:\flutter_tests\gps_test2'
[ ] Scanning project files
[ ] Scanning package files
[ +20 ms] Scanning asset files
[ ] Scanning for deleted files
[ +17 ms] Compiling dart to kernel with 0 updated files
[ +16 ms] Updating files
[ +27 ms] DevFS: Sync finished
[ ] Synced 0.0MB.
[ +2 ms] _flutter.setAssetBundlePath: {viewId: _flutterView/0x7408726f18, assetDirectory: /data/user/0/com.example.gpstest2/cache/gps_test2RGGCIG/gps_test2/build/flutter_assets}
[ +17 ms] _reloadSources: {pause: false, rootLibUri: /data/user/0/com.example.gpstest2/cache/gps_test2RGGCIG/gps_test2/lib/main.dart.dill, packagesUri: /data/user/0/com.example.gpstest2/cache/gps_test2RGGCIG/gps_test2/.packages, isolateId: isolates/985421718}
[ +17 ms] reloaded 0 of 390 libraries
[ ] Sending reload events to EML L09
[ ] Sending reload event to "main.dart$main-985421718"
[ +1 ms] getIsolate: {isolateId: isolates/985421718}
[ +52 ms] _flutter.listViews: {}
[ +12 ms] Evicting dirty assets
[ +3 ms] ext.flutter.evict: {value: AssetManifest.json, isolateId: isolates/985421718}
[ +27 ms] ext.flutter.evict: {value: FontManifest.json, isolateId: isolates/985421718}
[ +16 ms] ext.flutter.evict: {value: LICENSE, isolateId: isolates/985421718}
[ +13 ms] Reassembling application
[ +2 ms] ext.flutter.reassemble: {isolateId: isolates/985421718}
[ +123 ms] ext.ui.window.scheduleFrame: {isolateId: isolates/985421718}
[ +56 ms] Hot reload performed in 701ms.
[ +1 ms] Reloaded 0 of 390 libraries in 774ms.
[+11266 ms] I/zygote64( 7036): Do partial code cache collection, code=27KB, data=29KB
[ +1 ms] I/zygote64( 7036): After code cache collection, code=27KB, data=29KB
[ ] I/zygote64( 7036): Increasing code cache capacity to 128KB
[+32032 ms] W/InputMethodManager( 7036): startInputReason = 8
[ +237 ms] V/ActivityThread( 7036): Finishing stop of ActivityRecord{f37b5c6 token=android.os.BinderProxy@23312a2 {com.example.gpstest2/com.example.gpstest2.MainActivity}}
[ +23 ms] W/libEGL ( 7036): EGLNativeWindowType 0x73f68b3010 disconnect failed
[+4801 ms] W/libEGL ( 7036): EGLNativeWindowType 0x73f68b1010 disconnect failed
[ +19 ms] V/ActivityThread( 7036): Handle window ActivityRecord{f37b5c6 token=android.os.BinderProxy@23312a2 {com.example.gpstest2/com.example.gpstest2.MainActivity}} visibility: false
[+5559 ms] I/FlutterActivityDelegate( 7036): onResume setting current activity to this
[ +17 ms] D/mali_winsys( 7036): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
[ +5 ms] D/mali_winsys( 7036): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
[ +2 ms] W/libEGL ( 7036): load: so=libEGL_vr.so
[ ] W/libEGL ( 7036): dlopen failed: library "libEGL_vr.so" not found
[ +3 ms] I/chatty ( 7036): uid=10143(com.example.gpstest2) identical 2 lines
[ ] W/libEGL ( 7036): load: so=libEGL_vr.so
[ ] W/libEGL ( 7036): dlopen failed: library "libEGL_vr.so" not found
[ ] E/BpSurfaceComposerClient( 7036): Failed to transact (-1)
[ ] E/BpSurfaceComposerClient( 7036): Failed to transact (-1)
[ +62 ms] W/InputMethodManager( 7036): startInputReason = 1
[+22352 ms] ext.flutter.exit: {isolateId: isolates/985421718}
[ +105 ms] Application finished.
Terminate batch job (Y/N)?

Here is the code I am using for main.dart in case it is useful.

import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:location/location.dart';

void main() {
  runApp(new MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State<MyApp> {
  Map<String, double> _currentLocation;
  StreamSubscription<Map<String, double>> _locationSubscription;

  Location _location = new Location();
  String error;

  bool currentWidget = true;

  Image image1;

  @override
  void initState() {
    super.initState();

    initPlatformState();

    _locationSubscription =
        _location.onLocationChanged.listen((Map<String,double> result) {
          setState(() {
            _currentLocation = result;
          });
          print('LOCATION CHANGED' + result.toString());
        });
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  initPlatformState() async {
    Map<String, double> location;
    // Platform messages may fail, so we use a try/catch PlatformException.

    try {
      location = await _location.getLocation;
      error = null;
    } on PlatformException catch (e) {
      if (e.code == 'PERMISSION_DENIED') {
        error = 'Permission denied';
      } else if (e.code == 'PERMISSION_DENIED_NEVER_ASK') {
        error = 'Permission denied - please ask the user to enable it from the app settings';
      }

      location = null;
    }

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;
    print('GOT 2nd InitState');
    print('LOCATION-1' + location.toString());
    setState(() {
      _currentLocation = location;
    });
              print('LOCATION CHANGED2' + location.toString());

  }

  @override
  Widget build(BuildContext context) {
    List<Widget> widgets;

    if (_currentLocation == null) {
      widgets = new List();
    } else {
      widgets = [
        new Image.network(
            "https://maps.googleapis.com/maps/api/staticmap?center=${_currentLocation["latitude"]},${_currentLocation["longitude"]}&zoom=18&size=640x600&key=XXXXXXX")
      ];
    }

    widgets.add(new Center(
        child: new Text(_currentLocation != null
            ? '$_currentLocation\n'
            : 'Error: $error\n')));

    return new MaterialApp(
        home: new Scaffold(
            appBar: new AppBar(
              title: new Text('Plugin example app'),
            ),
            body: new Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              mainAxisSize: MainAxisSize.min,
              children: widgets,
            )));
  }
}

from flutterlocation.

JohnAherne avatar JohnAherne commented on May 28, 2024

Just noticed location 1.3 is now 1.3.2.

On the Samsung using 1.3.2 and running flutter run -v, the app crashes but flutter run is still running

from flutterlocation.

JohnAherne avatar JohnAherne commented on May 28, 2024

Did some more testing on the emulator with location 1.3.2 and sdk 25

If I restart the emulator from scratch, I get the permissions request come up. Say Allow and the program displays a screen with null for the lat/lon. And is stuck and unresponsive.

You can see the nulls in the below log

It also warns about Can reqeust only one set of permissions at a time

Hope this is useful information

+2671 ms] DevFS: Creating new filesystem on the device (null)
[ +1 ms] _createDevFS: {fsName: gps_test2}
[ +73 ms] W/Activity( 6210): Can reqeust only one set of permissions at a time
[ +106 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.gpstest2/cache/gps_test2OIMHNN/gps_test2/)
[ +2 ms] Updating assets
[ +981 ms] D/ ( 6210): HostConnection::get() New Host Connection established 0xa1ea1700, tid 6242
[ +12 ms] D/EGL_emulation( 6210): eglMakeCurrent: 0x9b499b00: ver 3 0 (tinfo 0xa1e83230)
[ +583 ms] Syncing files to device Android SDK built for x86...
[ +3 ms] DevFS: Starting sync from LocalDirectory: 'C:\flutter_tests\gps_test2'
[ ] Scanning project files
[ +3 ms] Scanning package files
[ +263 ms] Scanning asset files
[ +1 ms] Scanning for deleted files
[ +32 ms] Compiling dart to kernel with 415 updated files
[ +4 ms] c:\flutter_dev\flutter\bin\cache\dart-sdk\bin\dart c:\flutter_dev\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root c:\flutter_dev\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build\app.dill --packages C:\flutter_tests\gps_test2.packages --filesystem-scheme org-dartlang-root
[+1912 ms] Updating files
[+1120 ms] DevFS: Sync finished
[ +230 ms] Synced 0.8MB.
[ +2 ms] _flutter.listViews: {}
[ +58 ms] Connected to _flutterView/0xa71b530c.
[ +1 ms] ?? To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:8100/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+5013 ms] I/FlutterActivityDelegate( 6210): onResume setting current activity to this
[ +540 ms] I/flutter ( 6210): GOT 2nd InitState
[ +1 ms] I/flutter ( 6210): LOCATION-1null
[ +31 ms] I/flutter ( 6210): LOCATION CHANGED2null
[+36422 ms] ext.flutter.exit: {isolateId: isolates/882313552}
[ +88 ms] Service protocol connection closed.
[ +1 ms] Lost connection to device.
[ +2 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.gpstest2/cache/gps_test2OIMHNN/gps_test2/)
[ ] _deleteDevFS: {fsName: gps_test2}
Terminate batch job (Y/N)?

from flutterlocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.