今日有时间,就决定重新下一个Android的开发工具,由eclipse_juno换成eclipse_kepler(java EE).
在线安装弄了一整天,但是到最后当我创建AVD虚拟手机时,发现尺寸太大。AVD显示的画面已经贴到电脑屏幕上下边框了。
而且,无论我怎么调要么太大(3.7‘以上)、要么太小(3.4‘以下)。
最后我还是在一个外国网站(http://stackoverflow.com/questions/5349817/android-emulator-avd-window-size)上找到了解决方法:
If the size of the emulator is too big. You can resize it by:
- Run > Run Configurations
- Pick the "Target" tab
- Scroll down to Additional Emulator Command Line Options and put in:
-scale 0.8
or another number
就是点击菜单栏中的 run—>Run Configurations—>Target—>(拉到最下面)Additional Emulator Command Line Options—>填上“-scale 0.8
”即可。
在运行程序时选择相应的AVD自动会缩小为原来的0.8倍!