自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

原创 error:abc_textfield_search_default_mtrl_alpha Failed to crunch file

Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\Desktop\map\BaiduLBS_AndroidSDK_Sample\BaiduMap_AndroidSDK_v4.1.1_Sample\BaiduMapsApiASDemo\app\build\intermediate

2016-11-16 12:21:06 3839 4

原创 Android NoClassDefFoundError

楼主有两个手机 一个moto x 系统android 5.1 一个华为Y635-CL00 系统android4.4.4app一直在moto x调试运行正常,一天,同事拿来华为手机要刷版本,刷机运行,立马报NoClassDefFoundError异常,本以为是第三方库引用出现问题了经过多方排除,检索,发现,出现问题的原因是,自定义的MyApplication没有安装Multi

2016-11-02 15:55:46 390

原创 lib***.so: has text relocations

在android 6.0以上设备,突然出现app启动异常 lib***.so: has text relocations其解决方案如下:compileSdkVersion 23buildToolsVersion "23.0.1"defaultConfig { applicationId 'com.chat' minSdkVersion 16 targ

2016-09-18 12:28:49 940

原创 Android design TabLayout 无法自定义width 无法左对齐的问题

Android design TabLayout  无法自定义width 无法左对齐的问题1、在buildToolsVersion23.02及以上版本,对TabLayout的tab width的进行自定义,发现在buildToolsVersion23.01下正常的width参数,在23.02,出现bug问题如下:1、宽度从dimen中读取后,对tab中的customView指定widt

2016-08-23 16:01:41 4134

原创 解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy

android 2.0之后,出现该问题的原因是as访问https://services.gradle.org/distributions/gradle-xxx.zip下失败如下:D:\Share_L\MyApplication>gradlewDownloading https://services.gradle.org/distributions/gradle-2.10-all.zip

2016-04-22 11:42:11 29436 2

原创 android 5.0及以上,seekbar thumb 透明效果出现父布局背景颜色的解决方法

在seekbar中添加  android:splitTrack="false" 即可 <SeekBar android:id="@+id/seekbar" android:layout_width="match_parent" android:layout_height="wrap_content"

2015-11-27 10:43:15 7120 2

转载 通过代码改变drawable 各种状态drawable

use StateListDrawable for seeting selector by code as:StateListDrawable states = new StateListDrawable();states.addState(new int[] {android.R.attr.state_pressed}, getResources().getDrawable(R.d

2015-11-06 10:06:45 952

原创 android unable to resolve static method ****: 解决方法

1、app-build.gradle 添加 compile 'com.android.support:multidex:1.+'2、dexOptions { incremental true javaMaxHeapSize "4g" } 3、在defaultConfig中添加 multiDexEnabled = true4、在application中添加 @Override 

2015-10-23 14:36:08 2195

转载 Android string.xml 显示特殊符号

android 中 string.xml文件如何要显示特殊符号,空格,...,/等符号时, 需要考虑使用ASCII码进行转换显示:@号 @:号 :空格  以下为常见的ASCII十进制交换编码:  --> !-->!"-->"#-->#$-->$%-->%

2015-03-12 18:52:17 540

原创 Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 13550 (Thread-3345)

出现问题的原因1、数组越界2、

2014-10-10 14:27:30 1975

原创 Thread Looper与HandlerThread 多线程消息队列

1、线程消息队列有两种实现方式:第一种:

2014-10-08 15:13:18 424

转载 Android string.xml应用(特殊字符)

定义可变的字符串:

2014-09-29 10:25:29 572

原创 Android rename application package error

A fatal error occurred while performing the refactoring.An unexpected exception occurred while creating a change object.See the error log for more details.产生该问题的原因可能在于在该工程中,存在被全部注释掉的类,将其

2014-02-10 16:43:46 2261

文字转换软件--图片文字转换成TXT文字

文字 处理 将图片文字转换为TXT文字

2010-06-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除