I am using Android studio 1.0.1. I have a java module referred by other modules in my project. I have checked it out from SVN But now every
Unsupported Modu
I know it's an old question. but I faced this problem after updating to Android Studio 3.0
. I solved it by deleting app.iml
file inside my app module and then Invalidate Caches / Restart.
You can update new version of Android studio then go to invalidate catches/restart.Click sync button build application.
You should import the the project
https://issuetracker.google.com/issues/37008041
This error shows up when there is a module in your project whose .iml file does not contain: external.system.id="GRADLE" Can you please check your .iml files? Also, instead of opening the project, import it, that will completely rewrite your .iml files and you won't see that error again.
Try this steps Individually:-
1) Go to File->Invalidate Caches / Restart.
2) Close android studio, Go to C:\Users\(Your UserName)\.AndroidStudio(version)\system and delete caches folder.
If till now nothing worked, then this step will definitely work...
3) Simply change project location and import project with new location.
Enjoy :-):-)
The above solution I've tried but didn't work for me.
.idea
folder from project directory.File -> Invalidate Caches / Restart
.gradle
folder from user profile directory of Windows 10 operating system. (i.e., C:\Users\YourUserName\.gradle)Try this solution if the above not working.
In My Case
I have deleted
android -> .idea Folder
android -> appname.iml file
android -> app -> app.iml file
Open project in Android Studio and no need to File -> Invalidate Caches/Restart
You can do Invalidate Caches / Restart for your case.