java.lang.NoClassDefFoundError: com.instabug.library

java.lang.NoClassDefFoundError: com.instabug.library

我因这个错误而崩溃

0-24 21:20:36.878 30082-30110/app.com.myapp E/AndroidRuntime:致命异常:InstabugNetInit
10-24 21:20:36.878 30082-30110/app.com.myapp E/AndroidRuntime:过程:app.com.myapp,PID:30082
10-24 21:20:36.878 30082-30110/app.com.myapp E/AndroidRuntime: java.lang.NoClassDefFoundError: com.instabug.library.R$原始
10-24 21:20:36.878 30082-30110/app.com.myapp E/AndroidRuntime: 在 com.instabug.library.network.toolbox.c.run(SSLUtil.java:27)
10-24 21:20:36.878 30082-30110/app.com.myapp E/AndroidRuntime: 在 java.lang.Thread.run(Thread.java:841)

添加后我的应用程序崩溃了

依赖项{

compile 'me.iwf.photopicker:PhotoPicker:0.2.8@aar'

compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.android.support:design:22.2.0'
compile 'com.github.bumptech.glide:glide:3.6.0'

}

下面定义 photopickergithublink

https://github.com/donglua/PhotoPicker

谁能帮帮我?

谢谢。

我花了一天时间解决了问题。扩展应用 class 与 MultiDexApplication