I am developing Flutter project and while building it for android I had the following error:
`* What went wrong:
A problem occurred configuring project ':amplify_secure_storage'.
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':amplify_secure_storage' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':amplify_secure_storage' of type org.gradle.api.Project.`
Here is the version:
amplify_api: ^1.0.0 amplify_flutter: ^1.0.0 amplify_datastore: ^1.0.0-supports-only-mobile.0 amplify_auth_cognito: ^1.0.0 amplify_storage_s3: ^1.0.0 amplify_authenticator: ^1.0.0
app/build.gradle
minSdkVersion 24 targetSdkVersion 33
android/build.gradle
ext.kotlin_version = '1.7.10' ... dependencies { classpath 'com.android.tools.build:gradle:4.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" ... }
gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
Flutter:
Flutter 3.7.10 • channel stable • Dart 2.19.6 • DevTools 2.20.1
I would appreciate any help, Thanks