Android Studio Error "Unsupported Modules Detected: Compilation Is Not Supported for Following Modules"

Android studio Error Unsupported Modules Detected: Compilation is not supported for following modules

First of all you should update to Android Studio 1.2
Source: https://code.google.com/p/android/issues/detail?id=77983

Then you should go to File -> Invalidate Caches / Restart -> Invalidate Caches & Restart.

Then try to build the application again.

Android Studio - Unsupported Modules Detected - Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project

Follow these steps one by one to solve the error.

  1. Close the Project
  2. Exit Android Studio
  3. Then go to your application folder and delete .iml file
  4. And also delete .idea Folder
  5. Then open Android studio again and import your project

Note- If .iml and .idea files are not visible then press Command, shift and > buttons together when you are inside your Application folder

Gradle compatibility between Android Studio 4.0.1 and IntelliJ 2020.2 IDE

Nope.
The problem is in a different version of the IntelliJ Platform. Android Studio and IntelliJ Idea is developing separately because it's different products of different companies.
Google adopts the IntelliJ Platform in Android Studio - so we can think about it as about hacked IDEA.
So usually backward compatibility exists - it means that I can open in a new version of IntelliJ IDEA my older projects, but not vice versa.
So if look at AS 4.0 release notes we can mention that it is based on IntelliJ IDEA 2019.3.3 (https://developer.android.com/studio/releases#4.0-idea-2019-3-3). But your try to open a project of newer version IntelliJ Platform (2020.2). So it fails because your try to open a newer project version (2020.2) by old IDEA (2019.3.3)
But you can without issues open a project of AS 4.0 with IDEA 2020.2 - it will simply convert older project layout to new.



Related Topics



Leave a reply



Submit