Android异常解决方案记录


1、

[2011-08-30 17:10:01 - WebGetter] Starting activity com.snda.webgetter.NotesList on device emulator-5554
[2011-08-30 17:10:02 - WebGetter] ActivityManager: Starting: Intent { act=Android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.snda.webgetter/.NotesList }
[2011-08-30 17:10:02 - WebGetter] New package not yet registered with the system. Waiting 3 seconds before next attempt.

解决方案: Try this Project->Clean in eclipse, and the deploy it again

2、批量更新了package的名称,引起AndroidManifest.xml变更

解决方案:去除类似签名的 com.snda.webgetter.test前缀com.snda.webgetter,重新编译

3、修改了AndroidManifest.xml的provider,引起

[2011-08-30 17:31:42 - WebGetter] Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER
[2011-08-30 17:31:42 - WebGetter] Please check logcat output for more details.
[2011-08-30 17:31:42 - WebGetter] Launch canceled!

解决方案:启动模拟器,然后进入菜单
settings->applications->mange
applications-> select the application->select "unistall".
这样就能彻底删除了

4、Activity not started, its current task has been brought to the front

解决方案:project->clean

相关内容