У меня есть приложение, которое работает очень хорошо, но иногда, когда я добавляю какой-то класс и код в свою программу, мое приложение падает. В моих ошибках LogCat для этого:Как решить java.lang.NoClassDefFoundError: okio.Okio?
8871-8929/com.example.first E/AndroidRuntime﹕ FATAL EXCEPTION: pool-4-thread-1
java.lang.NoClassDefFoundError: okio.Okio
at com.squareup.okhttp.internal.http.HttpConnection.<init> (HttpConnection.java:90)
at com.squareup.okhttp.Connection.connectSocket(Connection.java:208)
at com.squareup.okhttp.Connection.connect(Connection.java:172)
at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java:367)
at com.squareup.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:328)
at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:438)
at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:389)
at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:233)
Моего Gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:23.1.+'
compile 'com.google.android.gms:play-services:3.2.+'
compile 'net.hockeyapp.android:HockeySDK:3.6.+'
compile 'com.googlecode.mp4parser:isoparser:1.0.+'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:cardview-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.github.bumptech.glide:glide:+'
compile 'com.nineoldandroids:library:2.4.+'
compile 'com.koushikdutta.ion:ion:2.+'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3'
compile 'com.theartofdev.edmodo:android-image-cropper:1.0.+'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
compile 'com.github.rahatarmanahmed:circularprogressview:2.4.0'
compile 'com.makeramen:roundedimageview:2.1.2'
compile 'com.squareup.okio:okio:1.6.0'
}
вызова 'compile 'com.squareup.okio: okio: 1.8.0' 'Тогда c lean-rebuild –
после звонка У меня есть следующее: Ошибка: Не удалось найти: com.squareup.okio: okio: 1.8.0 – android
Я действительно нуждаюсь в help.please ... – android