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.
- Close the Project
- Exit Android Studio
- Then go to your application folder and delete .iml file
- And also delete .idea Folder
- 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
Android - Add Textview to Layout When Button Is Pressed
Equivalent of Clean & Build in Android Studio
Com.Google.Android.Gsf Package Couldn't Be Found
Android Set Button Background Programmatically
Httpentity Is Deprecated on Android Now, What's the Alternative
Generating Google Map Release API Key
Enable and Disable Auto Rotate Programmatically
Modifying the Android Seekbar Widget to Operate Vertically
Programmatic Screencapture on Mobile Device
Android Studio How to Run Gradle Sync Manually
Need to Disable Expand on Collapsingtoolbarlayout for Certain Fragments
How to Connect SQL Server Using Jtds Driver in Android
Picasso Illegalargumentexception Target Must Not Be Null
Java.Lang.Numberformatexception: Invalid Int: "" in Android
Material Design, Appcompat, and Backwards Compatibility
How to Track Time in Libgdx(Android)
Why Getapplicationcontext() in Constructor of Activity Throws Null Pointer Exception