05 2017 档案

摘要:kotlin优点(主要是代码简洁度) 1.避免空指针异常,其次在一个文件中java方法必须写在class里面,而kotlin则没要求 2.在同一个文件中,有class a则不允许在class外的方法(与class同一级别,也就是没写在class里的方法)同名 3.可以没有;作为语句结尾 http:/ 阅读全文
posted @ 2017-05-24 15:33 烟花易冷心易碎 阅读(284) 评论(0) 推荐(0) 编辑
摘要:CoordinatorLayout :他是一个协调布局他extends ViewGroup implements NestedScrollingParent他应该只能协调跟NestedScrollingParent有关的 例如:NestedScrollView就是implements NestedS 阅读全文
posted @ 2017-05-23 14:29 烟花易冷心易碎 阅读(418) 评论(0) 推荐(0) 编辑
摘要:保存信息如上: 我在添加一个支持库的时候遇的问题,这个库com.yanzhenjie:album:1.0.5 这是由于v4包重复导致的,在网上我也找过多种解决方案 用了这种,方式 configurations { all*.exclude group: 'com.android.support',  阅读全文
posted @ 2017-05-19 16:06 烟花易冷心易碎 阅读(10739) 评论(0) 推荐(0) 编辑
摘要:具体报错如上: 在右侧中 大方块圈中的[com.android.support:support-v4:26.0.0-alpha1] 这个文件导致的,在这的清单文件第27行合并失败,让使用tools:replace="android:value 提示:Suggestion: add 'tools:re 阅读全文
posted @ 2017-05-19 15:39 烟花易冷心易碎 阅读(1946) 评论(0) 推荐(0) 编辑
摘要:Error:Execution failed for task ':app:transformClassesWithDexForDebug'.> com.android.build.api.transform.TransformException: com.android.ide.common.pr 阅读全文
posted @ 2017-05-19 15:10 烟花易冷心易碎 阅读(2959) 评论(0) 推荐(0) 编辑
摘要:加这行代码在dependencies统一级别 configurations { all*.exclude group: 'com.android.support', module: 'support-v4' all*.exclude group: 'com.android.support', mod 阅读全文
posted @ 2017-05-03 19:16 烟花易冷心易碎 阅读(384) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示