public void onCreate(Context context2) {
mActivityList = new ArrayList<>();
bzkjApp = this;
context = context2;
ActiveAndroid.initialize(context2); // 报错
String pkgName = context.getPackageName();
String processName = getCurProcessName(context);
if (pkgName != null && pkgName.equals(processName)) {
BZKJ.create(context, true);
} else {
BZKJ.create(context, false);
}
}
HBuilder(sdk最新) 升级后:
ActiveAndroid.initialize(context2); 代码报错
详情: