欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

修改屏幕分辨率的指令[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$

 

    如果androidstudio 升级后不能出现gradle错误,删除.gradle-x.x.x-all和.idea文件夹试试