【问题标题】:Can't download Android Plugin component: android-plugin-resources: Check logs for details无法下载 Android 插件组件:android-plugin-resources:查看日志了解详情
【发布时间】:2025-12-25 05:05:12
【问题描述】:
我过去曾使用 Intellij 开发 Android 应用程序,但自从我有了新笔记本电脑后,我就完全无法制作任何 Android 应用程序了。
起初我安装的java版本有问题(17,android似乎不兼容?)我什至无法构建或导入项目,我只安装java版本11(目前仍然是唯一的)解决了这个问题安装版本)。
我可以很好地构建和导入项目,但是每当我尝试在运行 android 9 的 S8+ 上启动它(当我使用 android 10 或更高版本时使用和 avd 时也是如此),它给了我以下错误:Can't download Android Plugin component: android-plugin-resources: Check logs for details 并且它拒绝安装在我的手机上。
我已经在我的电脑上多次删除并安装了不同的 android sdk(目前我安装了 api 31),但问题仍然存在。我过去做的项目也是一样,我只导入了过去完全可以正常工作的项目,然后出现错误。
【问题讨论】:
标签:
java
android
android-studio
gradle
intellij-idea
【解决方案1】:
导出日志详细信息,它表明了这一点
WARN - oad.AndroidComponentDownloader - Can't download Android Plugin component: android-plugin-resources
java.io.IOException: Failed to download 'https://cache-redirector.jetbrains.com/intellij-dependencies/org/jetbrains/intellij/deps/android/tools/base/android-plugin-resources/27.3.0.0/android-plugin-resources-27.3.0.0.zip':
Unsupported or unrecognized SSL message
所以下载这个 zip 文件并在你的 ide 中导入它