我试图在android 4.03中运行“hello world”程序,但是我的 avd模拟器启动但卡在空白屏幕中并且没有显示输出
我也收到了这个警告:
res:drawable-xhdpi
中缺少密度变化文件夹
请帮帮我。
[2012-01-21 12:35:40 - helloworld] ------------------------------
[2012-01-21 12:35:40 - helloworld] Android Launch!
[2012-01-21 12:35:40 - helloworld] adb is running normally.
[2012-01-21 12:35:40 - helloworld] Performing com.man.Helloworld.HelloworldActivity activity launch
[2012-01-21 12:35:40 - helloworld] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2012-01-21 12:35:40 - helloworld] Launching a new emulator with Virtual Device 'my_avd'
[2012-01-21 12:35:46 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-01-21 12:35:46 - helloworld] New emulator found: emulator-5554
[2012-01-21 12:35:46 - helloworld] Waiting for HOME ('android.process.acore') to be launched...
答案 0 :(得分:0)
可以通过为xhdpi创建可绘制资源文件夹来处理警告,就像您对ldpi,mdpi和hdpi一样。
您等待模拟器启动多长时间了?它非常慢。