[英]Error on running “adb shell wm density 240” for changing Android device density
I want to resize the screen on Android device. 我想在Android设备上调整屏幕大小。 When I run the following commands:
当我运行以下命令时:
adb shell wm density 240
or 要么
adb shell wm size 800x480
I get error: 我得到错误:
/system/bin/sh: wm: not found
. /system/bin/sh: wm: not found
。
Why? 为什么? How can I resolve that?
我该如何解决?
I should mention that my device is rooted and its model is Asus transformer TF101
我应该提到我的设备已经扎根,其型号是
Asus transformer TF101
I changed it to: 我将其更改为:
adb shell am display-size 800x480
and it worked 而且有效
wm (Window Manager) is not available on Jelly Bean and older devices. Wm(窗口管理器)在Jelly Bean和较旧的设备上不可用。 for pre jelly bean use
用于软心豆粒糖
adb shell am display-density 240
or 要么
adb shell am display-size 800x480
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.