首页 > 移动平台 > 详细

Android开发, 如何看logcat

时间:2016-11-11 20:10:12      阅读:238      评论:0      收藏:0      [点我收藏+]
有如下log:
 
android.view.InflateException: Binary XML file line #2:
Error inflating class com.hankkin.SelectMutiImgDemo.view.SquareLayout
 
at com.king.photo.adapter.PictureAdapter.getView(PictureAdapter.java:65)
 
思路:
看logcat时,要注意到你比较熟悉的信息,比如:
[Binary XML file line #2]、[adapter.PictureAdapter.getView(PictureAdapter.java:65)]
 从这里面你都能找到蛛丝马迹,问题就迎刃而解了

Android开发, 如何看logcat

原文:http://www.cnblogs.com/JwangC/p/6055251.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!