
Error
androidyhy
记录自己开发中的点滴。。。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(Y)小米miui系统调用系统裁剪图片功能报错 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, r
项目中遇到了从相册选取图片裁剪后上传头像的功能,但在小米5 6.0系统的机型上无法裁剪,报错如下,9-26 15:14:31.331 3828-3850/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]09-26 15:14:31.634 2391-2391/? E/Icon: Unable to load resourc...原创 2017-09-27 09:30:01 · 15451 阅读 · 1 评论 -
this version of Android Studio is incompatible with the Gradle Plugin used. try disabling Instant Ru
错误:this version of Android Studio is incompatible with the Gradle Plugin used. try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)翻译:这个版本的Android Studio是摇...原创 2017-04-07 10:52:43 · 557 阅读 · 0 评论 -
The number of method references in a .dex file cannot exceed 64K.
开发中遇到了这个错误,我的原因是因为引用的第三方jar包过多的原因。。解决办法:1.点击打开链接http://www.jianshu.com/p/f68b0b070c31 2.点击打开链接http://m.blog.youkuaiyun.com/article/details?id=51277839...原创 2017-03-07 15:39:35 · 254 阅读 · 0 评论 -
打包编译报错Error:Execution failed for task ':app:compileRetrolambdaRelease'. > Process 'command 'C:\Progr
Error:Execution failed for task ':app:compileRetrolambdaRelease'.> Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe'' finished with non-zero exit value 1解决方法:删除build.grade重新编译。...原创 2018-04-11 09:59:40 · 1479 阅读 · 0 评论 -
Android ListView默认抢占头部位置
问题描述:总体布局是RelaveLayout+lisView,首次进入页面后RelaveLayout布局被挤出,默认定位在了listView的位置。解决方案在listview根布局加属性android:descendantFocusability="blocksDescendants"该属性是当一个为view获取焦点时,定义viewGroup和其子控件两者之间的关系。属性的值有三种: ...原创 2018-06-07 18:00:18 · 377 阅读 · 0 评论 -
Error:(9, 0) Could not get unknown property 'manifest' for source set 'main' of type org.gradle.api.
最近在研究学习Android组件化开发。在处理组件之间AndroidManifest合并问题的时候遇到 这个错误。想来也是大意了才搞错,在此记录。解决方法 :其实很简单就是代码的位置放错了,sourceSets一定要放到android里面才能够识别。if(isModule.toBoolean()){ apply plugin: 'com.android.applicatio...原创 2018-09-19 16:42:01 · 2650 阅读 · 0 评论 -
性能优化之Lint的使用遇到的问题及解决方案
1.关于解决方案参考博客详解全:https://www.jianshu.com/p/c970a4e713952.关于Lint的使用详解:https://blog.youkuaiyun.com/u011240877/article/details/54141714 Lint 会根据预先配置的检测标准检查我们 Android 项目的源文件,发现潜在的 bug 或者可以优化的地方,优化的内容主...原创 2020-04-19 14:57:40 · 1124 阅读 · 0 评论