Не удалось найти класс "timber.log.Timber" по пути: DexPathList[[zip-файл "/system/framework/org.apache.http.legacy.boot.jar",

После попытки использовать последнюю версию shopify-anroid-buy-sdk произошла эта ошибка
05-28 14:46:18.393 10510-10530/valyangadi_app_pm.com.myapplication E/AndroidRuntime: ФАКТИЧЕСКОЕ ИСКЛЮЧЕНИЕ: процесс диспетчера OkHttp: valyangadi_app_pm.com.myapplication, PID: 10510 java.lang.NoClassDefFoundError: Ошибка разрешения / ошибки: ошибка журнала / лесоматериалов; по адресу com.shopify.buy3.cache.HttpCacheInterceptor.logCacheMiss(HttpCacheInterceptor.java:131) по адресу com.shopify.buy3.cache.HttpCacheInterceptor.cacheFirst(HttpCacheInterceptor.java:83) по адресу com.shopify.ttp. (HttpCacheInterceptor.java:42) по адресу okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) по адресу okhttp3.internal.http.RealInterceptorChain.proceed (RealInterceptorChain3..shop.67). Builder.lambda$sdkHeaderInterceptor$0$GraphClient$Builder(GraphClient.java:263) в com.shopify.buy3.GraphClient$Builder$$ Лямбда $0.intercept(неизвестный источник:4) в okhttp3.internal.http.RealInterceptorChain.ce RealInterceptorChain.java:92) в

okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
        at okhttp3.RealCall.access$100(RealCall.java:33)
        at okhttp3.RealCall$AsyncCall.execute(RealCall.java:120)
        at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "timber.log.Timber" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/valyangadi_app_pm.com.myapplication-JwOWWFEKzTK-b7IcnDWGuw==/base.apk"],nativeLibraryDirectories=[/data/app/valyangadi_app_pm.com.myapplication-JwOWWFEKzTK-b7IcnDWGuw==/lib/x86, /data/app/valyangadi_app_pm.com.myapplication-JwOWWFEKzTK-b7IcnDWGuw==/base.apk!/lib/x86, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at com.shopify.buy3.cache.HttpCacheInterceptor.logCacheMiss(HttpCacheInterceptor.java:131) 
        at com.shopify.buy3.cache.HttpCacheInterceptor.cacheFirst(HttpCacheInterceptor.java:83) 
        at com.shopify.buy3.cache.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:42) 
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) 
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) 
        at com.shopify.buy3.GraphClient$Builder.lambda$sdkHeaderInterceptor$0$GraphClient$Builder(GraphClient.java:263) 
        at com.shopify.buy3.GraphClient$Builder$$Lambda$0.intercept(Unknown Source:4) 
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) 
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) 
        at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170) 
        at okhttp3.RealCall.access$100(RealCall.java:33) 
        at okhttp3.RealCall$AsyncCall.execute(RealCall.java:120) 
        at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at java.lang.Thread.run(Thread.java:764) 












apply plugin: 'com.android.application'

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId ".myapplication"
        minSdkVersion 20
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        externalNativeBuild {
            cmake {
                cppFlags ""
            }
        }

        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    externalNativeBuild {
        cmake {
            path "CMakeLists.txt"
        }
    }
    compileOptions {
        targetCompatibility 1.8
        sourceCompatibility 1.8
    }

}

dependencies {

    implementation 'com.shopify.mobilebuysdk:buy3:3.2.2'
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'com.android.support.constraint:constraint-layout:1.1.0'
    testImplementation 'junit:junit:4.12'
    implementation 'com.android.support:multidex:1.0.0'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation 'com.facebook.react:react-native:+'
    implementation 'com.squareup.okhttp3:okhttp:3.4.1'
    implementation ('com.github.ViksaaSkool:AwesomeSplash:v1.0.0') {
        exclude group: 'com.android.support'
        exclude module: 'appcompat-v7'
        exclude module: 'support-v4'
    }

    implementation 'net.danlew:android.joda:2.9.9.4'
}

0 ответов

Другие вопросы по тегам