IntelliJ cannot resolve anything!

已回答

Hello, since a few days now IntelliJ cannot resolve anything, doesn't matter in which project and with which SDK. I already tried clearing the cache, restart everything, reinstalling IntelliJ and the SDKs, the “Repair IDE” button and more…

Does anyone know how to fix this?

0

Building still works fine, just IntelliJ shows it as wrong

0

Hi Hajsori,
Thank you for your question.

Please try the following steps to resolve this issue:
1. Close your project (File | Close project);
2. Close all instances of IntelliJ IDEA;
3. Rename or remove the System Directory of IntelliJ IDEA;
4. Run IntelliJ IDEA and re-import your Gradle project: Open → Navigate to the Project's directory → Double-click the root build.gradle(.kts) → Open as Project.
Does it help? 

If not, please collect IDE logs via Help | Collect Logs and Diagnostic Data and upload it to our server https://uploads.jetbrains.com/ and provide us with the Upload ID. The uploaded data will be accessible only to our team and will be used solely for investigating this issue. 
Thank you!

0

Thanks for the answer! Sadly this didn't helped.. but here is the Upload ID: 2026_02_12_HoXKo8rEirW9rFeU9VQfZb

0

Hajsori, Unfortunately, the idea.log file in the attached logs is empty. Please restart the IDE, reproduce the issue again, then collect the logs using Help | Collect Logs and Diagnostic Data and share them with us.

Also, please check whether the issue persists when all non-bundled plugins are disabled (Settings | Plugins | ⚙ | Disable all downloaded plugins).

Thanks!

0

Hello, here is the new Upload ID: 2026_02_13_KcmuaufXd2GKRPacTpnfzY
I have disabled all plugins and restarted IntelliJ before generating them.

0

Thanks!
Please try to reset your IDE settings via File | Manage IDE Settings | Restore Default Settings (a backup of your current settings will be created automatically when you perform the reset.)
And then check if it works fine.

If not, please perform these steps:
1. Close your project (File | Close project);
2. Close all instances of IntelliJ IDEA;
3. Go to the project folder and delete from there the .idea folder;
4. Rename or remove the System Directory of IntelliJ IDEA;
5. Re-import your Gradle project: Open → Navigate to the Project's directory → Double-click the root build.gradle(.kts) → Open as Project.
Does it help?

0

Thanks! That helps! But only when I don't import settings. But thanks!

0

I'm glad to hear that it's helped you!
In the logs there are some errors related to duplicating mapping settings for file types and errors related to your custom UI theme, so most likely these problems caused this behavior.

0

请先登录再写评论。