![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
小辰IT
这个作者很懒,什么都没留下…
展开
-
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 · 2285 阅读 · 0 评论 -
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 · 3847 阅读 · 4 评论 -
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 · 947 阅读 · 0 评论 -
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 · 4163 阅读 · 0 评论 -
解决: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 · 29499 阅读 · 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 · 7137 阅读 · 2 评论 -
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 · 2214 阅读 · 0 评论 -
通过代码改变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 · 957 阅读 · 0 评论 -
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 13550 (Thread-3345)
出现问题的原因1、数组越界2、原创 2014-10-10 14:27:30 · 1983 阅读 · 0 评论 -
Thread Looper与HandlerThread 多线程消息队列
1、线程消息队列有两种实现方式:第一种:原创 2014-10-08 15:13:18 · 425 阅读 · 0 评论 -
Android string.xml应用(特殊字符)
定义可变的字符串:转载 2014-09-29 10:25:29 · 578 阅读 · 0 评论 -
Android NoClassDefFoundError
楼主有两个手机 一个moto x 系统android 5.1 一个华为Y635-CL00 系统android4.4.4app一直在moto x调试运行正常,一天,同事拿来华为手机要刷版本,刷机运行,立马报NoClassDefFoundError异常,本以为是第三方库引用出现问题了经过多方排除,检索,发现,出现问题的原因是,自定义的MyApplication没有安装Multi原创 2016-11-02 15:55:46 · 399 阅读 · 0 评论