Android库取决于DJI-SDK

时间:2019-03-01 06:42:36

标签: android dji-sdk

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);
}

0 个答案:

没有答案