android - 自定义Android开发环境分辨率(Android x86与eclipse结合)

标签 android linux x86 screen development-environment

几天后我会得到一个新的 Samsumg Galaxy SII,现在我想尝试为 Android 开发应用程序,所以我安装了 eclipse 和 ADT 但是模拟器似乎慢得令人痛苦所以我找到了一个解决方法:安装通用Oracle VirtualBox 中的 x86 版本并通过 adb connect <ip> 连接它 eclipse ,效果非常好。

但是我运行的是“高分辨率”版本或类似的版本,我想将其缩小到一些更常见的分辨率,以模仿像我的 Galaxy 这样的智能手机的分辨率。有人熟悉这种定制吗?

最佳答案

我不确定如何在安装时控制分辨率。但是,如果您从磁盘实时运行它,则可以突出显示 VESA 模式。然后,

If you want to use higher resolution, you can edit the boot option by pressing TAB, change vga=788 (800x600) to vga=791 (1024x768) or vga=794 (1280x1024), and press Enter. You can also use vga=ask to see all available modes. But please note Android will only work under 16-bit mode.

http://www.android-x86.org/documents/virtualboxhowto

对于 800x480,您需要视频模式 375。

我在 2.2 和 2.3 上测试过:“android-x86-2.3-RC1-asus_laptop.iso”和 http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso&can=2&q=我可以让视频模式正常工作。输入vga=ask后回车查看所有模式,然后输入375。

关于android - 自定义Android开发环境分辨率(Android x86与eclipse结合),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8370716/

相关文章:

java - 从 Eclipse 中的 Android 或/和 Java 项目中删除未使用的类

android - Kotlin 使用 Parcelable 将 ListArray 传递给另一个 Activity

c++ - 强制将文件写入磁盘

assembly - 当您禁用中断时会发生什么,以及如何处理您不知道如何处理的中断?

assembly - MASM 中的 Push/Pop 与 Mov

android - Snackbar 的 com.google.android.material.behavior.HideBottomViewOnScrollBehavior 问题

android - 无法解析 : com. android.support :appcompat-v7. 15

linux - 如何确定Linux下某个用户下运行的进程产生了多少CPU负载?

linux - 如何在unix中搜索文件最后一行的第一个单词,然后在另一个文件中找到它以删除具有该模式的下一行?

assembly - x86 Intel 汇编程序仅在 NASM 中编译