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

前端 未结 30 2435
无人及你
无人及你 2020-11-28 00:32

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

相关标签:
30条回答
  • 2020-11-28 01:15

    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.

    0 讨论(0)
  • 2020-11-28 01:15

    You can update new version of Android studio then go to invalidate catches/restart.Click sync button build application.

    0 讨论(0)
  • 2020-11-28 01:16

    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.

    0 讨论(0)
  • 2020-11-28 01:18

    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 :-):-)

    0 讨论(0)
  • 2020-11-28 01:18

    The above solution I've tried but didn't work for me.

    1. I deleted the .idea folder from project directory.
    2. Invalidate caches using Android Studio menu File -> Invalidate Caches / Restart
    3. Deleted .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.

    0 讨论(0)
  • 2020-11-28 01:19

    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.

    0 讨论(0)
提交回复
热议问题