adb 命令设置android语言,emulator启动模拟器的时候设置语言
来源:互联网 发布:淘宝开店ps教程 编辑:程序博客网 时间:2024/05/29 18:37
adb 命令设置android语言$ adb shell '
setprop persist.sys.language en;
setprop persist.sys.country GB;
stop;
sleep 5;
start'验证语言
$ adb shell 'getprop persist.sys.language'
emulator启动模拟器的时候设置语言
emulator -avd my_avd -prop persist.sys.language=en -prop persist.sys.country=GB
语言ISO
Configuration
Qualifier Values
Description
MCC and MNC
Examples:mcc310
mcc310-mnc004
mcc208-mnc00
etc.
The mobile country code (MCC), optionally followed by mobile network code (MNC) from the SIM card in the device. For example,mcc310
is U.S. on any carrier, mcc310-mnc004
is U.S. on Verizon, andmcc208-mnc00
is France on Orange.
If the device uses a radio connection (GSM phone), the MCC and MNC values come from the SIM card.
You can also use the MCC alone (for example, to include country-specific legal resources in your application). If you need to specify based on the language only, then use thelanguage and region qualifier instead (discussed next). If you decide to use the MCC and MNC qualifier, you should do so with care and test that it works as expected.
Also see the configuration fields mcc
, andmnc
, which indicate the current mobile country code and mobile network code, respectively.
Language and region
Examples:en
fr
en-rUS
fr-rFR
fr-rCA
etc.
The language is defined by a two-letter ISO 639-1 language code, optionally followed by a two letter ISO 3166-1-alpha-2 region code (preceded by lowercase "r
").
The codes are not case-sensitive; the r
prefix is used to distinguish the region portion. You cannot specify a region alone.
This can change during the life of your application if the user changes his or her language in the system settings. SeeHandling Runtime Changes for information about how this can affect your application during runtime.
See Localization for a complete guide to localizing your application for other languages.
Also see the locale
configuration field, which indicates the current locale.
- adb 命令设置android语言,emulator启动模拟器的时候设置语言
- android emulator 启动模拟器设置内置存储大小
- android 模拟器语言及输入法设置
- 让模拟器Emulator上网的设置方法
- Android的语言设置
- Android的语言设置
- Android Emulator的proxy设置
- 关于android emulator的设置
- adb 设置android时间的命令
- Android emulator模拟器启动错误
- android studio调试的时候设置是真机还是模拟器
- Android 语言环境设置Locale的设置
- Android的语言设置-跟踪
- CentOS的启动方式和语言设置
- CentOS的启动方式和语言设置
- CentOS的启动方式和语言设置
- Android emulator模拟器高分辨率无法启动的解决
- 在adb中通过命令启动设置
- poj3911
- 关于CAD文件 DXF格式的理解
- linux内核中操作文件的方法--使用get_fs()和set_fs(KERNEL_DS)
- 一个ant配置
- 大数据量JSONObject.fromObject性能问题(大数据传给前台)
- adb 命令设置android语言,emulator启动模拟器的时候设置语言
- 转载_MDK调试时出现MEMORY MISMATCH错误的原因及解决方法
- msm7227平台linux I2C驱动分析
- c++ 优秀博客推荐列表
- LINUX内核中的xx_initcall初始化标号
- shell 清除日志内容
- ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
- Qt学习笔记:第一个程序HelloWorld
- 字符编码 Unicode UTF-8,GB2312,shift-jis编码判断。