Firebaseui-android: Remove or change resConfigs "auto" from the suggested optimization

Created on 26 Mar 2018  路  7Comments  路  Source: firebase/FirebaseUI-Android

When updating to Android Studio 3.1, one of the first warning provided by the IDE is to remove the resConfigs "auto" property from defaultConfig and from flavors (if present), which is the opposite suggested in the current configuration guide here
image

Refer to the note specified in the plugin documentation:
https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.ProductFlavor.html#com.android.build.gradle.internal.dsl.ProductFlavor:resConfigs(java.lang.String[])

All 7 comments

auto is meant as a placeholder. You're supposed to replace it with the languages you support, but I totally see how this is confusing. Will fix.

Damn it's pretty lame they're removing "auto". It actually was not a placeholder, it did 'the right' thing. But thanks for the PR.

Huh, I always thought auto was the default. Guess not! 馃槷 Apparently it's because of multi-module project bugs. Now I'm disappointed too! 馃槶馃槀

You were super fast, thank you @SUPERCILEX 馃憤

@matpag thanks for the great answer on StackOverflow, also cc @SUPERCILEX

image

Was a pleasure 馃槈, you are doing a great jobs guys 馃憤 @samtstern @SUPERCILEX

Was this page helpful?
0 / 5 - 0 ratings