具有非标准屏幕分辨率的 Android 模拟器

标签 android android-emulator

我尝试制作一个分辨率为 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/

相关文章:

java - 如何在Android中实例化多个自定义 View ?

android - 使用 SOOMLA Android Store 计费包装器请求交易

android - "npm start"和 "react-native run-android"部署之间有什么区别?

android - 为什么 Android studio 无法在 Android Pie (9.0) 上运行应用程序?

android - 如何让 Internet 连接在我的 Android 模拟器中工作?

android - 无法将应用程序部署到 Android Studio 中的模拟器 - "unknown avd"

android - Visual Studio 2017 Android 设备管理器认为 WHPX 未正确安装

android - 不同屏幕尺寸的布局

android - 使用 Android Studio/AVD 模拟器开发 "system app"

android - 在设备上找不到decodeHex方法,但在模拟器上工作