简体   繁体   English

将 android 应用程序包上传到 Playstore 时出错。您的应用程序包针对无法识别的语言 jp

[英]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.

相关问题 上传 android 包时出错 - Getting error while uploading android bundle Playstore 错误 - 您需要为您的 APK 或 Android App Bundle 使用不同的版本代码,因为您已经拥有版本代码为 4 的应用程序包 - Playstore Error - You need to use a different version code for your APK or Android App Bundle because you already have one with version code 4 在将应用程序上载到Play商店中时出现有关相机相关权限的错误 - Getting an error while uploading app into playstore about permissions related to camera Android App Bundle 新语言 - Android App Bundle new language Android PlayStore 警告您的应用当前针对 API 级别 25 - Android PlayStore warning your app currently targets API level 25 Android 清单在 Playstore 上上传应用程序时显示错误 - Android manifest Shows Error While uploading app on playstore 将应用捆绑包上传到Play控制台时导入错误 - Import error while uploading app bundle to Play Console 将 Android App Bundle 上传到 Google Play 控制台 - 密钥签名错误 - Uploading Android App Bundle to Google Play Console - key signing error 在某些设备上从 PlayStore 下载 Android App Bundle 后崩溃 - Android App Bundle crashes after downloading from PlayStore on some devices 正在将应用上传到Playstore:平板电脑兼容性错误! :安卓 - Uploading app to playstore: tablet compatibility error!! : android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM