Обновление OkHttp Logging Interceptor до версии 3.13.x и выше ломает сборку Android - PullRequest
0 голосов
/ 16 апреля 2019

Я пытаюсь обновить OkHttp Logging Interceptor до версии 3.13.x и выше. Но я нажимаю на эту ошибку сборки.

Dex: Error converting bytecode to dex:
Cause: PARSE ERROR:
InvokeDynamic not supported
...while preparsing cst 0001 at offset 0000000a
...while parsing okhttp3/Authenticator.class

    PARSE ERROR:
    InvokeDynamic not supported
    ...while preparsing cst 0001 at offset 0000000a
    ...while parsing okhttp3/Authenticator.class

1 error; aborting

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithDexForProductionDebug'.
> com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: Unable to pre-dex '/Users/mvdev/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.13.0/f53f6362226e4546c3987b8693f3d6976df8c797/okhttp-3.13.0.jar' to '/Users/mvdev/Developer/app/build/intermediates/transforms/dex/production/debug/folders/1000/10/okhttp-3.13.0_34a0ab9175b9c699b5f856a4c2b37e5f88f4690f'

У меня нет этой проблемы с 3.12.2. Любая причина, в чем может быть проблема?

...