janoodleFTW / timy-messenger

Timy - open source mobile app for groups to communicate and organize themselves. Built with flutter.
Apache License 2.0
2.08k stars 464 forks source link

Cannot build app #41

Closed xJon closed 4 years ago

xJon commented 4 years ago

I've followed step by step the instructions in the readme file, yet after a few hours of troubleshooting I still can't seem to build the app properly. Not modifying anything (and using the recommended Flutter version) I run into this issue:

flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-3.1.5\android\src\main\java\io\flutter\plugins\firebase\storage\FirebaseStoragePlugin.java:59: error: cannot find symbol
    onAttachedToEngine(binding.getApplicationContext(), binding.getBinaryMessenger());
                                                               ^
  symbol:   method getBinaryMessenger()
  location: variable binding of type FlutterPluginBinding
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':firebase_storage:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Trying to update dependencies caused other issues. Any tips? Thank you!

xJon commented 4 years ago

This issue was fixed by simply trying with a new project, and making sure even harder to not accidentally update Flutter or any other package.

Szintai commented 3 years ago

What other packages besides the Flutter? I have the same issue.