嗨,在第一次更新到ADT 12后似乎没问题然后我遇到了一些问题:
模拟器运行不正常,并给出我在下面报告的问题
我尝试使用XML窗口中的快速代码,并将代码行混合在一起,是否有人遇到过同样的问题.
这是我在尝试运行项目后在控制台中遇到的错误
- [2011-07-14 20:28:36 - cursoMC5leccion6] ------------------------------
- [2011-07-14 20:28:36 - cursoMC5leccion6] Android Launch!
- [2011-07-14 20:28:36 - cursoMC5leccion6] adb is running normally.
- [2011-07-14 20:28:36 - cursoMC5leccion6] Performing com.wocmultimedia.cursoMC5leccion6.Main activity launch
- [2011-07-14 20:28:36 - cursoMC5leccion6] Automatic Target Mode: launching new emulator with compatible AVD 'avdGooglemarket'
- [2011-07-14 20:28:36 - cursoMC5leccion6] Launching a new emulator with Virtual Device 'avdGooglemarket'
- [2011-07-14 20:28:42 - cursoMC5leccion6] New emulator found: emulator-5554
- [2011-07-14 20:28:42 - cursoMC5leccion6] Waiting for HOME ('android.process.acore') to be launched...
- [2011-07-14 20:29:57 - cursoMC5leccion6] emulator-5554 disconnected! Cancelling 'com.wocmultimedia.cursoMC5leccion6.Main activity launch'!
- [2011-07-14 20:33:22 - cursoMC5leccion6] ------------------------------
- [2011-07-14 20:33:22 - cursoMC5leccion6] Android Launch!
- [2011-07-14 20:33:22 - cursoMC5leccion6] adb is running normally.
- [2011-07-14 20:33:22 - cursoMC5leccion6] Performing com.wocmultimedia.cursoMC5leccion6.Main activity launch
- [2011-07-14 20:33:22 - cursoMC5leccion6] Automatic Target Mode: launching new emulator with compatible AVD 'avdGooglemarket'
- [2011-07-14 20:33:22 - cursoMC5leccion6] Launching a new emulator with Virtual Device 'avdGooglemarket'
- [2011-07-14 20:33:24 - Emulator] WARNING: Data partition already in use. Changes will not persist!
- [2011-07-14 20:33:24 - Emulator] WARNING: SD Card image already in use: C:\Documents and Settings\Angelo Giammarresi\.android\avd\avdGooglemarket.avd/sdcard.img
- [2011-07-14 20:33:24 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
- [2011-07-14 20:33:24 - cursoMC5leccion6] New emulator found: emulator-5556
- [2011-07-14 20:33:24 - cursoMC5leccion6] Waiting for HOME ('android.process.acore') to be launched...
解决方法
删除AVD目录中的所有“* .lock”目录,即[…] /.android / avd / [youravd] .avd