Skip to content

[v0.73.1][Android] Google.Play rejects app bundles because it "targets the following unrecognized languages: cb, fb" #42024

@birdofpreyru

Description

@birdofpreyru

Description

I'm getting the following error when uploading an app bundle, built with RN v0.73, to Google.Play (it is an existing project, that had no such issue before):
image

Googling for the error message, I came across this StackOverflow thread, which is old, and is not related to RN, but it mentions

I think it's because a folder named 'values-fb', that's a folder which have some files, usually used to translations

So, I've checked whether my project has some folders with names ending with -cb and -fb suffixes, and I found them in RN package, and then in intermediate built artifacts:
image
image

I guess, it requires a fix on RN side, renaming those folders (although the very error message suggests a workaround via resConfigs Gradle prop)?

Steps to reproduce

N/A

React Native Version

0.73.1

Affected Platforms

Other (please specify)

Output of npx react-native info

N/A

Stacktrace or Logs

N/A

Reproducer

N/A

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions