我尝试制作一个分辨率为 480x480 像素的模拟器。但是模拟器永远不会完成启动。它卡在 Android Logo 页面上。分辨率有限制吗?
最佳答案
模拟器
is not smart about screen size however, and may be too large for some monitors. If you have this problem, start the emulator instead using "SDK setup" program from the main Android SDK directory before you run a program. It will give you a dialog to set the size or scale. Setting the height to 8" works well on 768-pixel high monitors.
您应该查看加州大学伯克利分校的这个 wiki 站点。很好地解释并指导了如何为 Windows、Mac 等设置 Android 开发人员,但仅限于 Eclipse FYI。上面的代码 fragment 是第一节“Android Quickstart”的最后一段:
http://bid.berkeley.edu/cs160-fall10/index.php/Tips_and_Tricks
关于具有非标准屏幕分辨率的 Android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5441626/