12 2011 档案
摘要:解决Android中的ERROR: the user data image is used by another emulator. aborting的方法 今天调试代码的时候,突然出现这个错误,折腾了很久没有解决。最后在google上找到了大家给出的两种解决方案,下面给出这两种方法的链接博客:http://www.cnblogs.com/andrewhan/archive/2011/05/02/superandrewhan.html。 下面这段话是摘自上面给出的链接中的博客:前几天我在做android程序的时候,由于一些错误,导致我emulator出错,再运行的时候就会报:emulator.
阅读全文
Android中的"Unable to start activity ComponentInfo"或者"Unable to instantiate activity ComponentInfo"的错误
摘要:Android中的"Unable to start activity ComponentInfo"的错误 最近在做一款音乐播放器的时候,然后在调试的过程中发现一直报这个错误"Unable to start activity ComponentInfo",从字面的意思看是无法启动某个activity组件,但是看了manifest文件,所有的activity组件都已经注册过了,为什么会报这种错误?后来发现原来是注册路径出了问题,最开始的代码是这样的:<?xml version="1.0" encoding="utf-8&q
阅读全文