Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error android 9 #17

Closed
JonnyBorges opened this issue Oct 30, 2019 · 1 comment · Fixed by #19
Closed

Error android 9 #17

JonnyBorges opened this issue Oct 30, 2019 · 1 comment · Fixed by #19
Labels
bug Something isn't working

Comments

@JonnyBorges
Copy link

JonnyBorges commented Oct 30, 2019

The project do not compile with the plugin on pubspec.
I have the error:

/opt/flutter/.pub-cache/hosted/pub.dartlang.org/screenshot_callback-1.0.1/android/src/main/java/com/flutter/moum/screenshot_callback/ScreenshotCallbackPlugin.java:45: error: incompatible types: ArrayList cannot be converted to String
fileObserver = new FileObserver(files, FileObserver.CREATE) {
^
/opt/flutter/.pub-cache/hosted/pub.dartlang.org/screenshot_callback-1.0.1/android/src/main/java/com/flutter/moum/screenshot_callback/ScreenshotCallbackPlugin.java:45: error: cannot find symbol
fileObserver = new FileObserver(files, FileObserver.CREATE) {
^
symbol: constructor (ArrayList,int)

@songyiYu songyiYu added the bug Something isn't working label Oct 31, 2019
@Zazo032 Zazo032 mentioned this issue Dec 17, 2019
@anysunflower
Copy link

meet the problem too, any work around?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants