我刚开始学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的还是不行,不知道为什么
------解决方案--------------------
应该是你avd4.1 建的有问题吧,把项目改用2.2试试呢,或者在manifest文件里加上这句话:
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="8" />
------解决方案--------------------
把4.1的模拟器删除试试!!!