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 class B {
public void printTag(){
System.out.println(A.TAG);
}
这段代码编译以后会变成下面这样
public class B {
public void printTag(){
System.out.println("AAA");
}
如题,比如最开始编译的时候,A类和B类分别这样的:
`
public class A {
public static final String TAG = "AAA";
}
public class B {
public void printTag(){
}
}
`
第一次跑的时候 A中的static final 类型的 TAG 是"AAA", 然后修改,如果把A中的static final 类型的 TAG改成 "AAA changed",再重新跑,调用B中的printTag方法时,A中的TAG修改值不生效,还是"AAA"。
fastdex-gradle:0.8.6
com.android.tools.build:gradle:2.0.3
8.0/ 6.0机器都试过
The text was updated successfully, but these errors were encountered: