You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static final class styleable {
static {
public static final int[] ActionBar = new int[]{.........};
public static final int[] ActionBarLayout = new int[]{16842931};
public static final int[] ActionMenuItemView = new int[]{16843071};
}
}
变为了:
public static final class styleable {
static {
ActionBar = new int[]{.........};
ActionBarLayout = new int[]{16842931};
ActionMenuItemView = new int[]{16843071};
}
}
缺少了变量名称前的 变量类型声明
例如:public static final int[] ActionBar = new int[]{.........}; 前面的 public static final int[] 不见了
Please provide the following informations.
win11
java 11
7.5
7.3
4.16.3
R&styleable 被内联之后,旧的 R&styleable 的变量声明被删除了,但是变量赋值还在
styleable 类 由:
public static final class styleable {
static {
public static final int[] ActionBar = new int[]{.........};
public static final int[] ActionBarLayout = new int[]{16842931};
public static final int[] ActionMenuItemView = new int[]{16843071};
}
}
变为了:
public static final class styleable {
static {
ActionBar = new int[]{.........};
ActionBarLayout = new int[]{16842931};
ActionMenuItemView = new int[]{16843071};
}
}
缺少了变量名称前的 变量类型声明
例如:public static final int[] ActionBar = new int[]{.........}; 前面的 public static final int[] 不见了
项目组件化之后,如何使用插件检测类的变量是否存在,会报错
因为,class 文件中,对变量的引用和赋值还在,但是,变量的声明不见了
能否将变量的赋值也进行删除
The text was updated successfully, but these errors were encountered: