
android自我学习
文章平均质量分 64
不二庚庚
中流击水,浪遏飞舟。
展开
-
android导入源码缺少R.java
导入一个现存的android源码项目的时候会缺少R.java,有的的确可以通过android tools解决,有的不行,编译android时,遇到报错: Errors occurred during the build.Errors running builder 'Android Pre Compiler' on project 'XXX' java.lang.NullPointe原创 2013-10-20 13:30:51 · 875 阅读 · 0 评论 -
图解AndroidStudio 配置 github
晚上好奇,倒腾AS的git,中间出了不少篓子,弄了好久,总算弄好了,记录一下。Androidstudio如何连接github首先,连接github需要一个github账户,这个自备。点击如图选项,到达整个AS的设置界面。 之后,按照图示,找到如下图的选项(也可以直接在输入框输入github来快速定位),用来输入github的账号,输入完之后,可以点原创 2014-12-23 01:27:29 · 2056 阅读 · 0 评论 -
android activity生命周期(自我备忘)
原文的地址:http://developer.android.com/training/basics/activity-lifecycle/pausing.html英文内容:Generally, you should not use onPause() to store user changes (such as personal information entered翻译 2014-12-21 15:55:38 · 728 阅读 · 0 评论 -
android:layout_weight的含义
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orie原创 2014-12-20 21:18:59 · 720 阅读 · 0 评论 -
关于Adapter的The content of the adapter has changed问题分析
【出处】http://www.cnblogs.com/monodin/p/3874147.html转载 2014-11-13 18:06:02 · 684 阅读 · 0 评论 -
Android 文本内容滚动显示
1. 对于需要文本显示的内容过多的时候,需要滚动显示原创 2014-09-28 22:44:40 · 2752 阅读 · 0 评论 -
Android VierPager的工作原理
本文是本人看完“Android编程权威指南”对应章节的总结原创 2014-08-25 23:20:49 · 616 阅读 · 0 评论 -
listactivity中的适配器获取有时为空指针
有时,在继承了listactivity的activity中覆写onListItemClick的时候,huoq原创 2014-07-15 14:11:38 · 674 阅读 · 0 评论 -
Android 开发中java.lang.verifyerror问题
查了很多的问题,说是jar包的问题,这个转载 2014-07-24 14:51:22 · 781 阅读 · 0 评论 -
Android加载网络图片
1. 首先需要即将加载的图片的地址2.原创 2014-04-20 19:46:41 · 608 阅读 · 0 评论 -
Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
问题提示:Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check转载 2014-01-18 15:24:36 · 650 阅读 · 0 评论 -
android错误之android.content.res.Resources$NotFoundException:
很久之前也有这个错误,是http://blog.youkuaiyun.com/jason0539/article/details/11699647 这位博主提到的,今天还发现一个。在values文件夹下定义了corlors.xml文件 #ffff4444 在代码中引用的时候就会报NotFoundException: 异常,后将这些颜色的定义放到strings.xml中就正常了。原创 2015-03-04 10:29:57 · 717 阅读 · 0 评论