Home > OS >  One or more plugins require a higher Android SDK version - Facebook-auth
One or more plugins require a higher Android SDK version - Facebook-auth

Time:11-30

Good work, I decided to write facebook login for my app. I used this package flutter_facebook_auth: ^5.0.6

enter image description here

enter image description here

I changed the sdk version to 33 but the error persists

CodePudding user response:

It works with the last version:

In android/app/build.gradle you have to modify compileSdkVersion line in android{} to:

compileSdkVersion localProperties.getProperty('flutter.compileSdkVersion').toInteger()

and in android/local.properties you have to add this line if it doesn't exist:

flutter.compileSdkVersion= 33

CodePudding user response:

check your android/app/build.gradle and add this on android side

android {
    compileSdkVersion 33

    }
  • Related