D/dalvikvm: , , ,
一、GC_Reason 触发垃圾回收的回收的集中原因:
类型
描述
GC_CONCURRENT
内存使用将满时,并发的进行垃圾回收。
GC_FOR_MALLOC
当内存已满应用尝试分配内存时会出触发垃圾回收,所以系统会停止应用进行垃圾整理
GC_HPROF_DUMP_HEAP
当创...
分类:
移动开发 时间:
2014-11-23 11:45:34
阅读次数:
172
使用Monitor调试Unity3D Android程序日志输出(非DDMS和ADB)http://www.cnblogs.com/mrkelly/p/4015245.html以往调试Android程序,一般使用Android SDK的adb命令的logcat进行命令行输出,体验比较的差。网上搜索一...
分类:
移动开发 时间:
2014-11-22 11:53:38
阅读次数:
339
点击Start按钮,每隔3秒在Logcat里打印一句话<Button
android:id="@+id/startButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Start"/>
<Button
android:id="@+id/endButton"
android:layout_width="fill_parent"
a..
分类:
移动开发 时间:
2014-11-19 02:07:42
阅读次数:
216
LogCat Dex?Loader]?Unable?to?execute?dex:?Multiple?dex?files?define?Landroid/annotation/SuppressLint;
CustomViewTest]?Conversion?to?Dalvik?format?failed:?Unable?to?execute?dex:?...
分类:
移动开发 时间:
2014-11-14 12:46:13
阅读次数:
817
现象:运行程序,进行安装时,ANDROID模拟器启动失败,在Eclipse的控制台里log显示如下错误信息Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGEPlease check logcat output for more detail...
分类:
其他好文 时间:
2014-11-14 12:24:39
阅读次数:
160
安装了最新版的Android SDK (r21) 和ADT 21.0.0,在虚拟机运行程序时突然发现一个现象,原来运行很正常的程序,现在在logcat中不断的发送以下消息: Unexpected value from nativeGetEnabledTags: 0 此消息大量出...
分类:
其他好文 时间:
2014-11-13 19:18:21
阅读次数:
267
以前只是用intent传递一些简单的值,最近传递list集合时发现值总是传不过去,logcat报如下错误说的是不能处理值为null的情况,回过头看list集合时确实发现有value为null的key,这样问题就简单了,把value为null的key给移除就可以了。ArrayList> list=ne...
分类:
其他好文 时间:
2014-11-11 12:23:25
阅读次数:
141
做android有些日子了,只是对主要的logcat的具体使用方法还是非常模糊,今天有空,学习一下。logcat能够在adb中使用,也能够直接在命令行下使用。logcat [options] [filterspecs] logcat的选项包含: -s 默认设置过滤器,如指定'*:s'. -f ...
分类:
其他好文 时间:
2014-11-09 20:40:24
阅读次数:
215
============问题描述============ 一按StartAty1按钮就显示“抱歉,hello已停止工作”,logcat一直在输出报错信息,差不多1秒中就输出几条,现在连续输出几个小时了。这是代码:packagecom.example.hello;importandroid.suppo...
分类:
其他好文 时间:
2014-11-08 14:58:51
阅读次数:
272
============问题描述============ 大家好,我在使用百度云推送SDK的时候发现在AVD中可以正常收到推送通知,而在手机上却没办法收到。在Logcat中发现这么一句shouldStopSelf-------localPriority=360;otherpackageName=co...
分类:
其他好文 时间:
2014-11-08 13:38:13
阅读次数:
161