roughike / flutter_facebook_login

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

error in flutter #330

Open sadiabbas1122 opened 2 years ago

sadiabbas1122 commented 2 years ago

C:\src\flutter\bin\flutter.bat --no-color build apk The plugin flutter_facebook_login uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Building with sound null safety

Running Gradle task 'assembleRelease'...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 lib/pages/add_message_page.dart:1:1: Error: A library can't opt out of null safety by default, when using sound null safety. // @dart=2.9 ^^^^^^^^^^^^ Error: Cannot run with sound null safety, because the following dependencies don't support null safety:

For solutions, see https://dart.dev/go/unsound-null-safety

FAILURE: Build failed with an exception.

BUILD FAILED in 36s Running Gradle task 'assembleRelease'... 37.3s Gradle task assembleRelease failed with exit code 1

pavelsust commented 2 years ago

Facing the same issue. any update from author???