Я новичок в Flutter, и мне нужно реализовать счетчик шагов.
Я нашел плагин шагомера для Flutter, но не могу запустить пример кода.
Я использую код Visual Studio и студию Android. Я получаю следующую ошибку.
Ошибка
Код: Выделить всё
E/flutter (11300): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: PlatformException(1, StepDetection not available, StepDetection is not available on this device)
I/flutter (11300): ERROR: StepCount not available
Код: Выделить всё
Подробнее здесь: [url]https://stackoverflow.com/questions/63675099/not-able-to-run-flutter-pedometer-plugin-on-android-emulator[/url]
Мобильная версия