roughike / flutter_facebook_login

A Flutter plugin for allowing users to authenticate with native Android & iOS Facebook login SDKs.
BSD 2-Clause "Simplified" License
404 stars 332 forks source link

[URGENT!] Crash is happening on only Android when I add flutter_facebook_login: ^3.0.0, but works on iOS well #283

Open danyiliev opened 4 years ago

danyiliev commented 4 years ago

On iOS it works well. But on Android, app crashes at very beginning.

I followed the suggestions on this issue. https://github.com/roughike/flutter_facebook_login/issues/112 And I changed the versions several times as 1.2.0, 2.0.0, etc. But it never works. Only if I remove the plugin from pubspec.yaml file, the crash disappears. Please help me to figure out this issue on Android

JonataCSantos commented 4 years ago

@danyiliev Could you post your flutter doctor, and your specific android configurated files?

abdulmalekDery commented 4 years ago

I'm facing the same issue

flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.17133.1], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [√] Android Studio (version 3.6) [√] VS Code (version 1.45.1) [√] Connected device (1 available)

when running the project after adding you library I got this error

FAILURE: Build failed with an exception.

although I could access and download this files from browser https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.3.1/gradle-3.3.1.jar

I believe there is android build bug in your module

efikas commented 4 years ago

I experience this tool, I debug the whole app from Android manifest file to removing all my code to removing all the libraries before I discovered that its flutter_facebook_login that is causing the crash.

flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v1.17.0, on Mac OS X 10.14.6 18G103, locale en-GB)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 11.3) [✓] Chrome - develop for the web [✓] Android Studio (version 3.6) [✓] VS Code (version 1.47.2) [✓] Connected device (3 available)

diego-lipinski-de-castro commented 3 years ago

Same problem. I am on flutter channel dev

olayemii commented 3 years ago

did anyone fix this?

muhammednazil commented 3 years ago

did any one fix this same problem facing please