是否可以使用 build.gradle 将 translatable=false 添加到 String 资源?
我有 resValue 'string', 'app_name', 名称 但我想让它不可译。 (可翻译=假) 这真的可能吗?
最佳答案
Android 的 gradle 插件不支持这个。
您不能在 gradle 文件
中添加 translatable=false
。
关于java - 在 Android 中使用 build.gradle 将 translatable=false 添加到 String 资源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45843008/