deven98 / shake

A flutter package for detecting phone shakes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MissingPluginException(No implementation found for method setAccelerationSamplingPeriod on channel dev.fluttercommunity.plus/sensors/method)

cungtrang0978 opened this issue · comments

I am having this issue when open app:

MissingPluginException(No implementation found for method setAccelerationSamplingPeriod on channel dev.fluttercommunity.plus/sensors/method)

  • Android version: 13.0

  • Plugin version: 2.2.0

  • flutter doctor -v

[✓] Flutter (Channel stable, 3.16.5, on macOS 13.4 22F66 darwin-x64, locale en)
    • Flutter version 3.16.5 on channel stable at /Users/thangnv/fvm/versions/3.16.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc2)
    • Android SDK at /Users/thangnv/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0-rc2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • 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

[✓] Connected device (3 available)
    • Pixel 6 (mobile) • 22171FDF6000TB • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos          • darwin-x64     • macOS 13.4 22F66 darwin-x64
    • Chrome (web)     • chrome         • web-javascript • Google Chrome 120.0.6099.129

[✓] Network resources
    • All expected network resources are available.

Facing same issue.

So am I... , I wonder.. that it is related to this issue.. flutter/flutter#10912
Please find why the issue is occured..
Thanks.

I am also seeing this issue. Please, if you can update this package it would be very helpful. There are already open pull requests waiting for approval to update it from generous members of the community.

Hi!

Same issue.. Any solutions?

Same issue here

The problem was the transitive dependency sensors_plus_platform_interface ^1.1.2 released 1.2.0 a few months ago, which expects an up-to-date sensors_plus dependency.

You can apply a dependency_overrides in your pubspec.yaml as a temporary workaround:

dependency_overrides:
  sensors_plus_platform_interface: '1.1.3'

Thank you for the workaround, can be fixed in the next release?