I have noticed that some of my apps that I created in flutter has settings_aar.gradle and some only settings.gradle on the appName/android folder , I tried to check online but cant find to know the answer. Thanks
Gradle comes to your rescue whenever you wish to build an Android Project. It makes sure that you can generate an apk from . java and . xml files in the most efficient way possible.
settings_aar.gradle
is for AndroidX migration.
For older flutter version without AndroidX a long message should appear in CLI stdout when building the app after upgrade to newer flutter version
https://github.com/flutter/flutter/blob/54dba4cd59f4b330e66960f0d37cf57802f675a8/packages/flutter_tools/gradle/manual_migration_settings.gradle.md
https://github.com/flutter/flutter/blob/33aa45760430c6e6ea3552a263613f576c10c822/packages/flutter_tools/lib/src/android/gradle.dart#L154
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With