![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android编程调试碎片
DevinZhang2018
给自己一点时间,还世界一个惊喜!
展开
-
Android常见错误及解决方法
编程碎片--Android常见错误及解决方法1.ActivityManager: Warning: Activity not started, its current task has been brought to the front 说明:模拟器中已经有一个实例在运行。 解决方法:退出模拟器中运行的程序,再次运行即可解决! 2.No grammar constraints原创 2014-01-22 00:10:03 · 1008 阅读 · 0 评论 -
Invalid file name: must contain only [a-z0-9_.]
Logcat显示错误:res\drawable-mdpi\FLY.png: Invalid file name: must contain only [a-z0-9_.]解决方法:drawable文件夹中的文件名应用小写,如提示所示a-z就是文件名的书写格式必须为小写a到z,0-9也同理,仅仅是文件名的书写错误,文件名字改为小写即可;原创 2014-01-20 13:08:51 · 1093 阅读 · 0 评论 -
Android 编程碎片:The connection to adb is down, and a severe error has occured.
打开ADT时控制台显示错误是:adb server is out of date. killing... ADB server didn't ACK * failed to start daemon * error: unknown host service运行程序时遇见的错误是The connection to adb is down, a原创 2014-02-07 13:01:16 · 899 阅读 · 0 评论 -
Android编程碎片:Invalid project description:overlaps the location of another project
导入Android项目时发现出现:Invalid project description的提示,即“无效的项目描述”.单击按钮查看详细内容可以看到overlaps the location of another project的描述,也就是说导入的项目位置与另外一个项目重叠了(如图):解决办法是:把将要导入的项目文件夹放到其他目录下例如原的ADT默认工作原创 2014-02-07 15:44:12 · 1844 阅读 · 0 评论 -
Android编程碎片:Invalid layout of java.lang.String at value
Android编程碎片:Invalid layout of java.lang.String at value Invalid layout of java.lang.String at value## A fatal error has been detected by the Java Runtime Environment:## Internal Error (javaClas原创 2014-02-13 21:10:16 · 1015 阅读 · 0 评论 -
Android编程碎片:Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
Android编程碎片:Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED[2014-02-13 20:53:33 - application] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED[2014-02-13 20:53:33 - applica原创 2014-02-13 21:19:42 · 966 阅读 · 0 评论 -
Android SoundPool sample 1 not ready错误解决方法
Android SoundPool sample 1 not ready错误解决方法DDMS报的错是sample not ready的问题,也就是说是在load加载音乐文件出错,导致在play播放音乐时显示not ready;在SoundPool中有setOnLoadCompleteListener方法用来判断音乐加载是否完成,因此解决方法如下:一、调用setO原创 2014-02-27 17:07:22 · 6464 阅读 · 1 评论