flutter_file_picker icon indicating copy to clipboard operation
flutter_file_picker copied to clipboard

filepicker can't use in android device . it showing unexpected lock protocol.

Open muhammedsibil opened this issue 3 years ago • 0 comments
trafficstars

A problem occurred configuring project ':file_picker'.

java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unexpected lock protocol found in lock file. Expected 1, found 0. Failed to notify project evaluation listener. Could not get unknown property 'android' for project ':file_picker' of type org.gradle.api.Project. Could not find method implementation() for arguments [project ':flutter_plugin_android_lifecycle'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Could not get unknown property 'android' for project ':file_picker' of type org.gradle.api.Project.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

distributionUrl=https://services.gradle.org/distributions/gradle-7.4-all.zip
classpath 'com.android.tools.build:gradle:7.1.2'

muhammedsibil avatar Aug 05 '22 14:08 muhammedsibil

log: I/FilePickerDelegate(30584): User cancelled the picker request

Image not available on Android device

    FilePickerResult? result = await FilePicker.platform.pickFiles(
      type: FileType.image,
      allowMultiple: true,
    );
   // result == null

xiaocode337317439 avatar Aug 11 '22 06:08 xiaocode337317439

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Aug 19 '22 02:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 02 '22 02:09 github-actions[bot]