Hitherto, I've been setting the locale with the 'persist' properties, but on the Android 8 emulator, I get this:
setprop: failed to set property 'persist.sys.language' to 'en'
setprop: failed to set property 'persist.sys.country' to 'GB'
setprop: failed to set property 'ctl.restart' to 'zygote'
I tried setting the ro. locale-related properties, but surprisingly enough they're still 'ro'.
Does anyone know the new way for Android 8?
Just call adb root
before. Then you can change the locale by using the following command as you may have tried before:
adb shell "setprop persist.sys.language fr; setprop persist.sys.country CA; setprop ctl.restart zygote"
This even works with emulators (like Android TV x86 emulator) that only comes bundled with English from the settings:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With