Error when trying upload .AAB to Google Play Console (res/values-fb)

When I compile an .AAB using 5.9.0 or newest Facebook Android SDK, and try to upload it in Google Play Console, an error happens.

Your App Bundle targets the following unrecognized languages: fb. The list of supported language codes can be found in the IANA registry. Invalid languages caused by third-party libraries can be excluded using the resConfigs Gradle property.

I think it's because a folder named 'values-fb', that's a folder which have some files, usually used to translations. But, this 'fb' isn't a language allowed by IANA.org. https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

There's some fix?


Solution 1:

To me happened the same error I added in defaultConfig language

 defaultConfig {
        resConfigs "en", "US"
    }