android 报错
canaanYE
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
error: No resource identifier found for attribute 'backgroud' in package 'android'
xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingBottom="@dimen/activity_vertical_margin" androi原创 2014-04-09 15:02:54 · 1585 阅读 · 0 评论 -
listview addHeaderView()报错:ClassCastException
今天写listview的addHeaderView()的时候报了:java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams想了好久都没有想出来。后来发现自己导入header布局错了headV原创 2014-12-18 23:02:37 · 774 阅读 · 0 评论 -
the environment variable java_home (with the value of ) does not point to a valid jvm installation
大概有一下几种可能:1.ava_home里面只有一个值,但你在后面加了分号。运行Java程序的时候不会报错。但是Android studio会认为不是一个正确的地址。2.有可能你写地址的时候如路径是"C:Program/java/jdk/jdk1.7.0"。你写成"c:Program/java/jdk/jdk1.7.0"。把小写的盘符c改成大写的C就行了原创 2015-05-01 11:52:56 · 8017 阅读 · 2 评论
分享