butterknife
butterknife copied to clipboard
组件化时,R2中生产了许多系统组件的常量,运行脚本打包组件aar,报错提醒, 错误: 已在类 styleable中定义了变量 ActionBarLayout_android_layout_gravity public static final int ActionBarLayout_android_layout_gravity = 1;
Task :offcnfreind:processDebugAnnotationsWithJavac FAILED /home/xieyutuo/workspace/android_zgjy/offcnfreind/build/generated/source/r2/debug/com/offcn/offcnfreinds/R2.java:11904: 错误: 已在类 styleable中定义了变量 ActionBarLayout_android_layout_gravity public static final int ActionBarLayout_android_layout_gravity = 1;
what?
what?
利用脚本打包aar时,出现许多系统组件的R2常量,导致打包时出现R2常量重复,影响打包。
@yunxingyu 老哥,你要用英文报bug,Bro,you need report bug by english
what?
利用脚本打包aar时,出现许多系统组件的R2常量,导致打包时出现R2常量重复,影响打包。
lao ge ni xu yao yong ying yu, english ok?
When aar is packaged with scripts, R2 constants of many system components appear,for example "ActionBarLayout_android_layout_gravity = 1 ", resulting in duplication of R2 constants during packaging, which affects packaging.
When aar is packaged with scripts, R2 constants of many system components appear,for example "ActionBarLayout_android_layout_gravity = 1 ", resulting in duplication of R2 constants during packaging, which affects packaging.
Change the issue title is better.
How do you solve it?
哈哈哈 幽默
what?