Android Studio 3.1我试图打开一个项目,但我得到错误“未能找到目标与哈希字符串'android-25'”。在错误消息下面,我看到一个链接“Install missing platform(s)and synch project”。如果我点击这个链接,我得到另一个错误,它说
"The following packages are not available: - Package id platforms;android-26".
Android Studio 3.1我试图打开一个项目,但我得到错误“未能找到目标与哈希字符串'android-25'”。在错误消息下面,我看到一个链接“Install missing platform(s)and synch project”。如果我点击这个链接,我得到另一个错误,它说
"The following packages are not available: - Package id platforms;android-26".
1条答案
按热度按时间uajslkp61#
enter image description here
在模块kotlin-stdlib-1.8.10(org.)中找到重复的类kotlin.collections.jdk8.CollectionsJDK8Kt。脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)重复的类kotlin.internal.jdk7.JDK7PlatformImplementations$ReflectSdkVersion在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)重复的类kotlin.internal.jdk8.JDK8PlatformImplementations$ReflectSdkVersion在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)重复的类kotlin。i 〇.路径ExperimentalPathApi在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)重复的类kotlin。i 〇.路径PathRelativizer在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)重复的类kotlin。i 〇.路径PathsKt在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)重复的类kotlin。i 〇.路径PathsKt__PathReadWriteKt在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)重复的类kotlin。i 〇.路径PathsKt__PathUtilsKt在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk7 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk7:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.)中发现重复的类kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$1。脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.)中发现重复的类kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$2。脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.)中发现重复的类kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$3。脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.)中发现重复的类kotlin.streams.jdk8.StreamsKt$asSequence$$inlined$Sequence$4。脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)在模块kotlin-stdlib-1.8.10(org.脑子进水了kotlin:kotlin-stdlib:1.8.10)和kotlin-stdlib-jdk8 - 1.6.21(org.脑子进水了kotlin:kotlin-stdlib-jdk8:1.6.21)
转到文档以了解如何修复依赖关系解析错误。