我正在尝试安装 android sdk 并在我的 PC(Win7 64 位)上运行我的第一个应用程序.我从一开始就按照 网页并应用了他们使用的解决方案.它就像一个魅力.
步骤:
I'm trying to install android sdk and run my first application on my PC (Win7 64 bit). I followed instructions on http://developer.android.com from the beginning to http://developer.android.com/training/basics/firstapp/running-app.html When I try to start emulator (as mentioned on the last url) simply nothing shows up.
5 - Select the new AVD from the Android Virtual Device Manager and click Start.
It doesn't show any error messages. After launching AVD a process named adb.exe appears on task manager.
Below is eclipse console output when try to run my blank app from eclipse. On configurations, I set different target devices and selected starting activity manually. The same problem continues.
When AVD is started from outside of eclipse(sdkplatform-tools>android avd
):
[2013-03-22 08:50:48 - 1st] ------------------------------
[2013-03-22 08:50:48 - 1st] Android Launch!
[2013-03-22 08:50:48 - 1st] adb is running normally.
[2013-03-22 08:50:48 - 1st] Performing com.example.st.MainActivity activity launch
[2013-03-22 08:50:49 - 1st] Automatic Target Mode: launching new emulator with compatible AVD 'AvdTest'
[2013-03-22 08:50:49 - 1st] Launching a new emulator with Virtual Device 'AvdTest'
When AVD is started from eclipse:
[2013-03-22 09:22:44 - 1st] ------------------------------
[2013-03-22 09:22:44 - 1st] Android Launch!
[2013-03-22 09:22:44 - 1st] adb is running normally.
[2013-03-22 09:22:44 - 1st] Performing com.example.st.MainActivity activity launch
[2013-03-22 09:22:44 - 1st] Automatic Target Mode: Preferred AVD 'AvdTest' is not available. Launching new emulator.
[2013-03-22 09:22:44 - 1st] Launching a new emulator with Virtual Device 'AvdTest'
I also downloaded only sdk and installed eclipse plugin but result is the same.
Tried to use logcat also. Started it then started AVD, but logcat shows nothing. When I kill adb.exe from task manager,it kills logcat too.
sdkplatform-tools>adb -e logcat
- waiting for device -
sdkplatform-tools>
After reinstalling IDE/SDK a couple of times I decided to ask it here. What else I can do?
Edit : Folks, I have a virtual device. Please stop suggesting adding a virtual device.
I found it. In event viewer(Control PanelAll Control Panel ItemsAdministrative ToolsEvent Viewer) clicked on Windows Log>Application on left menu and read error logs.
I googled dll file mentioned in log (aticfx32.dll
) and found the dll file belongs to ATI graphic cards. My PC has an Intel graphic card. While searching for solution I also found this web page and applied solution they used. It works like a charm.
Steps:
这篇关于Android 模拟器无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!