【问题标题】:Application not getting installed on emulator: warning: opening audio input failed应用程序未安装在模拟器上:警告:打开音频输入失败
【发布时间】:2012-10-05 04:30:05
【问题描述】:

我创建了一个“你好”项目。我没有更改 eclipse 生成的默认模板的任何内容。然后我运行了应用程序。我没有收到任何错误。但是,该应用程序并未安装在模拟器上。

环境:

windows7 x64
jdk-7u7-windows-x64
installer_r20.0.3-windows
eclipse-jee-juno-SR1-win32-x86_64

我搜索了很多文章,但没有找到任何解决方案。

[2012-10-15 16:39:42 - hello] Android Launch!
[2012-10-15 16:39:42 - hello] adb is running normally.
[2012-10-15 16:39:42 - hello] Performing com.example.hello.MainActivity activity launch
[2012-10-15 16:39:42 - hello] Automatic Target Mode: launching new emulator with compatible AVD 'AndroidAVD4.1.2'
[2012-10-15 16:39:42 - hello] Launching a new emulator with Virtual Device 'AndroidAVD4.1.2'
[2012-10-15 16:39:42 - Emulator] emulator: warning: opening audio input failed

【问题讨论】:

  • windows7 是 32 位还是 64 位??我认为这里的版本问题。
  • 您是否尝试过使用 android avd 创建一个模拟器,然后在运行配置下选择它?似乎问题可能是自动选择的模拟器
  • 感谢您的回复。解决了。​​

标签: android emulation uploading


【解决方案1】:

我已经阅读了 1 周的许多类似文章,并且我尝试过 很多东西可以解决这个问题:

  • 各种android sdk版本重新安装
  • 项目再创作
  • avd 再创作
  • 更改 Eclipse 工作区
  • 将 android sdk 文件夹更改为没有空间的根目录。
  • 重新启动 adb 和 eclipse。

作为试用,我卸载了所有防病毒和防御软件,然后重新启动。 这解决了我的问题。

【讨论】:

    猜你喜欢
    • 2012-07-25
    • 1970-01-01
    • 2011-06-17
    • 2012-10-07
    • 2010-12-22
    • 2012-01-21
    • 2011-07-01
    • 1970-01-01
    相关资源
    最近更新 更多