[英]Getting error while uploading android app bundle to playstore.. Your app bundle targets unrecognized language jp
I have created signed android app bundle and while uploading it on playstore.我已经创建了已签名的 android 应用程序包,并在将其上传到 Playstore 时。 I am getting the following error:
我收到以下错误:
Your app bundle targets the following unrecognized languages: jp.
您的 app bundle 面向以下无法识别的语言:jp。 The list of supported language codes can be found in the IANA registry.
支持的语言代码列表可以在 IANA 注册表中找到。 Invalid languages caused by third-party libraries can be excluded using the resConfigs Gradle property.
可以使用 resConfigs Gradle 属性排除由第三方库引起的无效语言。 You need to use a different package name beacuse "com.example" is restricted.
您需要使用不同的包名,因为“com.example”受到限制。
I have used resConfigs gradle propoerty in defaultConfig too.我也在 defaultConfig 中使用了 resConfigs gradle 属性。 I have also changed the package name.
我也更改了包名称。
But still getting this error.但仍然收到此错误。
I have used ads and firebase dependencies in the project and some third party libraries too.我在项目和一些第三方库中使用了 ads 和 firebase 依赖项。
If you are not supporting Japanese language, than you should not mention in resConfigs.如果您不支持日语,则不应在 resConfigs 中提及。 You should only include languages name inside resConfigs which are supported by your app only.
您应该只在 resConfigs 中包含仅由您的应用程序支持的语言名称。
If you are supprting Japanese langauge than code for japanese language is ja or ja_JP (not ja_rJP).如果您支持日语,那么日语的代码是 ja 或 ja_JP(不是 ja_rJP)。
For supporting list of multiple languages, you can check this link.有关多种语言的支持列表,您可以查看此链接。
Edit:编辑:
You said you only used "en", than in gradle why you are using resConfigs "en", "zh-rTW", "zh-rCN", "ja_rJP.
你说你只使用了“en”,而不是在 gradle 中为什么你使用
resConfigs "en", "zh-rTW", "zh-rCN", "ja_rJP.
Remove this line and just add resConfigs "en"
.删除这一行,只需添加
resConfigs "en"
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.