sidlatau / flutter_document_picker

Allows user pick a document. Picked document is copied to app temporary directory. Optionally allows pick document with specific extension only.
Apache License 2.0
41 stars 29 forks source link

Build Error #4

Closed AndreHaueisen closed 6 years ago

AndreHaueisen commented 6 years ago

I'm trying to use your plugin, but after I put its dependency on pubspec.yaml I get the following error.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':flutter_document_picker'.
> Failed to notify project evaluation listener.
   > java.lang.AbstractMethodError (no error message)

Any ideas? Am I missing any configuration steps?

Flutter Doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel master, v0.8.5-pre.5, on Microsoft Windows [Version 10.0.17134.285], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK 27.0.3) [√] Android Studio (version 3.1) [√] VS Code (version 1.27.2) [√] Connected devices (1 available)

• No issues found!

sidlatau commented 6 years ago

It could be related to Kotlin version you are using. It looks as same problem as in issue #2 . Could you check this comment: https://github.com/sidlatau/flutter_document_picker/issues/2#issuecomment-420411084 - update Kotlin version in your project and check if it helps?

AndreHaueisen commented 6 years ago

Yes. Same problem. Thanks for the help.