Android库初始化Helper.install
失败
java.lang.NoClassDefFoundError: Failed resolution of: Ldji/sdk/sdkmanager/DJISDKManager$SDKManagerCallback;
我的图书馆初始化代码是
private DJISDKManager.SDKManagerCallback mDJISDKManagerCallback =new ...;
public class DJITools {
public static void init(MyApplication context){
Helper.install(context);
}
}
应用项目初始化
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
DJITools.init(MyApplication.this);
}