【发布时间】:2022-01-04 20:36:24
【问题描述】:
我正在使用 Visual Studio 2022 编写 Xamarin.Android 应用程序。不幸的是,新应用程序需要 .abb 包。这就是在应用程序中更改语言的问题开始的地方。我正在使用 ContextWrapper 更改语言。我已经阅读了该语言以在应用程序中正常工作,我必须将此代码添加到 BundleConfig.json 文件中:
android {
bundle {
language {
// Specifies that the app bundle should not support
// configuration APKs for language resources. These
// resources are instead packaged with each base and
// dynamic feature APK.
enableSplit = false
}
}
}
不幸的是,我在互联网上没有找到如何编辑这个文件以及在哪里可以找到它。请帮忙。
【问题讨论】:
标签: c# android xamarin visual-studio-2022