skip to Main Content

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

2

Answers


  1. 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
    

    EDITED—-

    And for the minSdkVersion

    android/local.properties:
    flutter.minSdkVersion=16

    android/app/build.gradle:

    inside defaultConfig{}:

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

    Login or Signup to reply.
  2. check your android/app/build.gradle and add this on android side

    android {
        compileSdkVersion 33
    
        }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search