问题标签 [android-x86]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
14802 浏览

android - 音频在 Virtualbox 上运行的 Android 上不起作用?

我在 Virtualbox 上安装了 Android,我使用的是从http://www.android-x86.org/download下载的 Android x86我选择了 2.3 版本的 eeepc 版本(android-x86-2.3-RC1-eeepc.iso)。

问题是声音不起作用,我在 Virtualbox 设置中尝试了所有 3 个选项。我目前的设置:

我为音频控制器设置尝试的选择:

我目前正在运行 Windows 7,我的音频驱动程序是默认的 Windows 驱动程序。

我搜索并发现有同样问题的人,但我什么都不懂,因为我不是高级 Linux 用户,一些解决方案谈论 ALSA 驱动程序,但我找不到如何安装和使用它。

也可能来自我选择的安装 .iso 文件吗?我的电脑是Acer Travelmate 2480

更新 在检查 Android x86 网站时,我发现我们应该使用 SoundBlaster 16 而不是 ICH AC97

我还尝试了alsa_ctl init终端内的命令(ALT + F1),我得到了这个:

我检查了它的版本是 1.0.23

0 投票
1 回答
776 浏览

linux-kernel - 使用预编译的目标文件构建内核模块会给出未定义的符号!错误

我正在尝试使用如下预编译的目标文件为 android-x86 3.10 内核构建内核模块,

tmp-objs := sample1.o prebuilt.o obj-m += tmp.o

sample1.o 有一个 sample1.c 但 prebuilt.o 是预编译的目标文件。

在构建 android-x86 3.10 内核映像时,内核构建抛出未定义!prebuilt.o 中存在的符号错误。

请帮助解决此构建错误。

0 投票
2 回答
20589 浏览

vmware - 在 VMWare 上旋转 android x86 的视图

如何在安装的 android x86 上旋转显示视图VMWare?按Ctrl+F12旋转它,使后退和主页按钮转到屏幕左侧,但现在按Ctrl+F11Ctrl+F12仅将其保持在横向模式,主页按钮位于屏幕左侧或右侧。如何将其恢复为纵向模式,即屏幕底部的主页按钮?

0 投票
1 回答
1187 浏览

android - 为 android x86 编译 CUPS

我正在为嵌入式设备编译自定义 android-x86 版本。我需要使用 USB 热敏打印机。在 Ubuntu 上,它可以在 /dev/usb/lp0 上使用杯子开箱即用。我似乎找不到任何关于将 CUPS 移植到 android-x86 构建的说明,而且我对此还不是很熟悉。有没有人有解决方案来使用 android-x86 编译 CUPS 或在 android-x86 中与 /dev/usb/lp0 通信?

0 投票
1 回答
441 浏览

android - Android x86 是否支持 OPEN GLES 2.0?

Android x86 是否支持 OPEN GLES 2.0 ?我在 Android x86 虚拟机上运行 AndEngine GLES 2 示例,但我得到一个消息:强制停止!原木猫:

没有找到 eglconfig

那么,有人帮我回答这个问题吗?太感谢了 !

0 投票
10 回答
40635 浏览

android - Android-x86 不会安装在 VirtualBox 上

我对 Android-x86 和 VirtualBox 有疑问。

我以前从未使用过 Linux,所以我不明白发生了什么。创建一个新的虚拟机并选择“安装 Android-x86”后,我得到了这个:

内核恐慌

我的设置: 配置

我试过使用 android-x86-4.2-20130228.iso 和 android-x86-4.2-20121225.iso

怎么了?

0 投票
1 回答
2023 浏览

android - VirtualBox 中的 Android - 具有 32 位色深的 Win 7

我在 VirtualBox 中的 Android 4.3 虚拟机上添加了自定义分辨率(安装在 32 位 Windows 7 上),但如果它们使用 16 位色深,我只能使用它们。如果我设置 24 位,虚拟机不启动,如果我设置 32 位,它会显示两个小屏幕,覆盖屏幕的上部。

有没有办法解决这个问题?

0 投票
2 回答
9447 浏览

android - Android-x86 4.3 audio

I am building an Embedded system, we were running Android x86 4.2.2 which runs fine with some tweaks and drivers, however when running 4.3 I am running into a no sound issue. I have an asound.state file I generated from Ubuntu that i can load with alsa_ctl restore and works in 4.2.2 but in 4.3.1 branch I get no audio, here is the logcat dump when I try to listen to a ringtone:

Does any one have any suggestions? alsa_amixer outputs:

And /proc/asound/cards:

lsmod | grep snd output:

alsa_play -l output:

Update

So running: dd if=/dev/urandom bs=8000 count=1 | aplay -D plughw:0,0 results in: aplay: main:661: audio open error: No such file or directory stdout: write error: Broken pipe 1+0 records in 0+0 records out 0 bytes transferred in 0.124 secs (0 bytes/sec)

So nothing working there, no surprise, but running the same command with device 1 i.e. plughw:1,0 results in sound successfully playing:

So it seems I need to switch the default sound card to device 1 per comment below, but how do I switch the default card using alsa_ctl -f asound.state restore? if so how do I specify with this syntax in that file?

0 投票
0 回答
813 浏览

android - 有没有办法以编程方式更改 Virtual Box 中的电池电量?

为了模拟电池充电和放电,有没有办法编写脚本来改变虚拟设备的电池电量?

0 投票
1 回答
1417 浏览

javacv - 在 android-x86 上使用 javaCV 进行人脸识别

我正在尝试在 Android x86 Emulator 上运行以下人脸识别算法(特征脸)实现。

https://code.google.com/p/javacv/source/browse/samples/FaceRecognition.java

有没有人有这方面的经验?javaCV 包装器是否准备好在 Android x86 架构上执行,因此不仅仅是 ARM?谢谢!