我创建了一个“你好”项目。我没有更改 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
我已经读了很多类似的文章 1 周,并且我已经尝试过
有很多方法可以解决这个问题:
- 各种android sdk版本重新安装
- 项目再创造
- avd再创作
- 更改 Eclipse 工作空间
- 将 android sdk 文件夹更改为根目录,没有空间。
- 重新启动adb和eclipse。
作为试验,我卸载了所有防病毒和防御软件,然后重新启动。
这解决了我的问题。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)