gpt4 book ai didi

android-studio - Android Studio 更新问题

转载 作者:行者123 更新时间:2023-12-03 17:18:34 27 4
gpt4 key购买 nike

Android Studio 更新到 3.0,我的项目有很多问题。目前在启动时出现错误,我找不到解决方法。

这是错误堆栈:

Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/nikitagudkovs/.gradle/caches/modules-2/files-2.1/com.google.auto.value/auto-value/1.5.2/1b94ab7ec707e2220a0d1a7517488d1843236345/auto-value-1.5.2.jar
Error:com.android.builder.dexing.DexArchiveBuilderException: Error while dexing autovalue/shaded/com/google$/common/collect/$ImmutableMap.class
Error:com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Error:Execution failed for task ':app:transformClassesWithDexBuilderForJivaDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException:
Failed to process /Users/nikitagudkovs/.gradle/caches/modules-2/files-2.1/com.google.auto.value/auto-value/1.5.2/1b94ab7ec707e2220a0d1a7517488d1843236345/auto-value-1.5.2.jar

最佳答案

尝试 compileOnly“com.google.auto.value:auto-value:1.5”和 annotationProcessor“com.google.auto.value:auto-value:1.5”。它应该适用于 gradle 3.0.0

关于android-studio - Android Studio 更新问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46991983/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com