You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

IntelliJ IDEA 2017.3.5创建项目时Android插件初始化致命错误求助

Fixing "Fatal error initializing plugin org.jetbrains.android" in IntelliJ IDEA 2017.3.5 (Ubuntu 16.04)

Hey there, let's work through this Android plugin initialization error you're facing. I've dealt with similar issues on Ubuntu 16.04 with older IDEA versions, so here are some practical fixes to try:

1. Install a Compatible JDK (Critical for Android Plugin)

Since you're using the JDK-less IDEA build, the Android plugin relies on a system-installed JDK, and IDEA 2017.3.5 works best with OpenJDK 8 (newer versions might cause compatibility issues).

  • Open your terminal and run these commands to install OpenJDK 8:
    sudo apt update
    sudo apt install openjdk-8-jdk
    
  • After installation, configure IDEA to use this JDK:
    1. Launch IDEA and go to File > Project Structure > SDKs
    2. Click the + button and select JDK
    3. Navigate to /usr/lib/jvm/java-8-openjdk-amd64 (the default path for Ubuntu 16.04) and confirm
    4. Set this JDK as the default for your project and IDE

2. Disable the Android Plugin (If You Don't Need It)

If you're only creating empty/non-Android projects, you can skip the plugin entirely to avoid the error:

  • On IDEA's welcome screen, click Configure > Plugins
  • Search for Android Support in the plugin list
  • Uncheck the box next to it, click Apply, then restart IDEA

3. Clean IDEA's Cache and Plugin Data

Corrupted cache files often cause plugin initialization failures. Here's how to reset them:

  • Close IDEA completely
  • Open your terminal and run these commands to delete problematic folders:
    rm -rf ~/.IntelliJIdea2017.3/cache
    rm -rf ~/.IntelliJIdea2017.3/config/plugins
    
  • Restart IDEA—it will rebuild the cache and plugin files from scratch

4. Re-Download and Re-Extract IDEA

Sometimes the downloaded tarball gets corrupted during transfer. Try this:

  • Delete your current IDEA installation folder
  • Re-download the 2017.3.5 JDK-less community build (make sure your connection is stable)
  • Re-extract the tarball to your home directory and follow the installation instructions again

内容的提问来源于stack exchange,提问作者Max

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 10:26:01