Skip to content

MissingPluginException(No implementation found for method custom on channel miguelruivo.flutter.plugins.filepicker #1902

@WCCSFlutterApps

Description

@WCCSFlutterApps

Describe the bug
file_picker: ^10.3.3

Platform

  • Android[ android {
    namespace = "com.---------"
    compileSdk 36
    ndkVersion = flutter.ndkVersion

    compileOptions {
    coreLibraryDesugaringEnabled true

     sourceCompatibility = JavaVersion.VERSION_17
     targetCompatibility = JavaVersion.VERSION_17
    

    }

    kotlinOptions {
    jvmTarget = '17'
    }
    }
    id "com.android.application" version '8.13.0' apply false
    id "org.jetbrains.kotlin.android" version "2.2.20" apply false
    distributionUrl=https://services.gradle.org/distributions/gradle-8.13-bin.zip

]

  • iOS
  • Web
  • Desktop

Platform OS version
What version did it happen?

How are you picking?

Please, post the snippet here
    await getFile([
      'doc',
      'docx',
      'jpg',
      'pdf',
      'png',
      'jpeg',
      'xlsx',
      'xls',
      'pptx',
      'rar',
      'zip',
    ], context);
  getFile(List<String> list, BuildContext context) async {
    try {
      FilePickerResult? result = await FilePicker.platform.pickFiles(
        type: FileType.custom,
        allowedExtensions: list,
      );
      return result;
    } catch (e) {
      print("Error picking file: $e");
    }
  }

**Details to reproduce the issue**
Provide all the details to reproduce the issue.

**Error Log**
I/flutter ( 8305): [MethodChannelFilePicker] Unsupported operation. Method not found. The exception thrown was: MissingPluginException(No implementation found for method custom on channel miguelruivo.flutter.plugins.filepicker)
I/flutter ( 8305): Error picking file: MissingPluginException(No implementation found for method custom on channel miguelruivo.flutter.plugins.filepicker)

**Screenshots and/or video**
If applicable, add screenshots or video to help explain your problem.

**Flutter Version details**
~/Documents/practice_android_project/demo_project
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.6, on macOS 15.5 24F74 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.1)
[✓] VS Code (version 1.91.1)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network
      as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

 

Metadata

Metadata

Assignees

No one assigned

    Labels

    new issueAn issue that hasn't yet been seen from the maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions