我刚开始学Android,网上找了个工程,导入之后运行结果出现以下错误提示:
[2012-08-30 14:35:00 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-08-30 14:35:00 - Emulator] WARNING: SD Card image already in use: D:\han.cai\.android\avd\4.1.avd/sdcard.img
[2012-08-30 14:35:00 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-08-30 14:35:00 - Emulator] Failed to allocate memory: 8
[2012-08-30 14:35:00 - Emulator]
[2012-08-30 14:35:00 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-08-30 14:35:00 - Emulator] Please contact the application's support team for more information.
我结束adb.exe进程重启Eclipse后还是这样,我Eclipse里面有两个AVD一个2.2的另外一个是4.1的平时都是建立2.2的工程,这个网上的工程是4.1的,就无法运行,我在运行配置里面的Target里面选择了4.1的还是不行,不知道为什么
[2012-08-30 14:35:00 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-08-30 14:35:00 - Emulator] WARNING: SD Card image already in use: D:\han.cai\.android\avd\4.1.avd/sdcard.img
[2012-08-30 14:35:00 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-08-30 14:35:00 - Emulator] Failed to allocate memory: 8
[2012-08-30 14:35:00 - Emulator]
[2012-08-30 14:35:00 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-08-30 14:35:00 - Emulator] Please contact the application's support team for more information.
我结束adb.exe进程重启Eclipse后还是这样,我Eclipse里面有两个AVD一个2.2的另外一个是4.1的平时都是建立2.2的工程,这个网上的工程是4.1的,就无法运行,我在运行配置里面的Target里面选择了4.1的还是不行,不知道为什么
方法1.cmd中adb kill-server,然后adb -startserver
方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
都没用呢
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="8" />
[2012-08-31 14:31:57 - Emulator]
WARNING: Data partition already in use. Changes will not persist!
[2012-08-31 14:31:57 - Emulator]
WARNING: SD Card image already in use: D:\...\.android\avd\4.1.avd/sdcard.img
[2012-08-31 14:31:57 - Emulator]
WARNING: Cache partition already in use. Changes will not persist!