报错: java.lang.ClassNotFoundException: Didn't find class "com.lzy.imagepicker.ImagePickerProvider"...

在4.X系统中报错,在新的系统里没有报错
错误log:

 java.lang.ClassNotFoundException: Didn't find class "com.lzy.imagepicker.ImagePickerProvider" on path: 
 DexPathList[[zip file "/data/app/com.zhaodaoweizhi.trackcartest-2.apk"]

解决办法
自定义Appliacation类,并重写

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
    }

你可能感兴趣的:(报错: java.lang.ClassNotFoundException: Didn't find class "com.lzy.imagepicker.ImagePickerProvider"...)