修改屏幕分辨率的指令[debug模式下]&&android studio 清空
程序员文章站
2022-07-12 19:35:28
...
写道
leif@leif:~/Tools/Google sign$ adb shell wm size
Physical size: 480x800
leif@leif:~/Tools/Google sign$ adb shell wm density
Physical density: 240
Override density: 204
leif@leif:~/Tools/Google sign$ adb shell size 720x1280
/system/bin/sh: size: inaccessible or not found
leif@leif:~/Tools/Google sign$ adb shell wm size 720x1280
leif@leif:~/Tools/Google sign$ adb shell wm density 320
leif@leif:~/Tools/Google sign$ adb shell wm density 240
leif@leif:~/Tools/Google sign$ adb shell wm size 480x800
leif@leif:~/Tools/Google sign$ adb shell wm density 320
leif@leif:~/Tools/Google sign$ adb shell wm size 720x1280
leif@leif:~/Tools/Google sign$ adb shell wm size 480x800
leif@leif:~/Tools/Google sign$ adb shell wm size 1080x1920
leif@leif:~/Tools/Google sign$
Physical size: 480x800
leif@leif:~/Tools/Google sign$ adb shell wm density
Physical density: 240
Override density: 204
leif@leif:~/Tools/Google sign$ adb shell size 720x1280
/system/bin/sh: size: inaccessible or not found
leif@leif:~/Tools/Google sign$ adb shell wm size 720x1280
leif@leif:~/Tools/Google sign$ adb shell wm density 320
leif@leif:~/Tools/Google sign$ adb shell wm density 240
leif@leif:~/Tools/Google sign$ adb shell wm size 480x800
leif@leif:~/Tools/Google sign$ adb shell wm density 320
leif@leif:~/Tools/Google sign$ adb shell wm size 720x1280
leif@leif:~/Tools/Google sign$ adb shell wm size 480x800
leif@leif:~/Tools/Google sign$ adb shell wm size 1080x1920
leif@leif:~/Tools/Google sign$
如果androidstudio 升级后不能出现gradle错误,删除.gradle-x.x.x-all和.idea文件夹试试
上一篇: 设置Android默认锁定屏幕旋转
下一篇: git 的一般指令