Music-Player-flutter icon indicating copy to clipboard operation
Music-Player-flutter copied to clipboard

No implementation found for method getSongs on channel music_finder

Open pavelsust opened this issue 5 years ago • 6 comments

When I run this application it shows I/flutter ( 9042): failed to fetch songs from storage device I/flutter ( 9042): MissingPluginException(No implementation found for method getSongs on channel music_finder)

How I can solve this issue.

pavelsust avatar Nov 05 '20 18:11 pavelsust

@pavelsust, please provide the full error stack and flutter doctor output

prateekKrOraon avatar Nov 05 '20 18:11 prateekKrOraon

Just showing these two error and here is my flutter doctor

[✓] Flutter (Channel master, 1.24.0-8.0.pre.62, on Mac OS X 10.15.7 19H2, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 12.1) [!] Android Studio (version 4.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [!] IntelliJ IDEA Community Edition (version 2019.3.3) ✗ Flutter plugin not installed; this adds Flutter specific functionality. [✓] VS Code (version 1.47.3) [✓] Connected device (1 available)

pavelsust avatar Nov 05 '20 18:11 pavelsust

@prateekKrOraon here I have created a new branch can you please run this project then in the log you will see the issue.

https://github.com/pavelsust/Music-Player-flutter

Thanks

pavelsust avatar Nov 05 '20 18:11 pavelsust

Your new project worked fine.

This error occurs mostly when you try Hot Reload or Hot Restart just after adding new package in pubspec.yaml.

This should fix it.

  • Stop the running project (if it's running)
  • Uninstall the app from device/emulator (if installed)
  • Run
    • flutter pub get
    • flutter clean

and then freshly run it again.

prateekKrOraon avatar Nov 05 '20 19:11 prateekKrOraon

Unfortunately still now I can't build this project same error shows again. I have tried your approch and on different device too. can you please share me the apk

pavelsust avatar Nov 06 '20 19:11 pavelsust

@pavelsust here is the apk app-release.zip

prateekKrOraon avatar Nov 08 '20 09:11 prateekKrOraon