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

前端 未结 30 2325
无人及你
无人及你 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:26

    Try the below,

    1. Close android studio
    2. Then delete .iml , .idea files
    3. Open again the android studio
    4. Sync with Gradle.
    0 讨论(0)
  • 2020-11-28 01:27

    Try this if it helps File -> Invalidate Caches / Restart.

    If it still doesn't help click on the button in the image. 'Sync Project with Gradle Files'

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

    In my case it is because the root project name have a space. So instead of naming it as sample project, it should be sample-project or sample_project.

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

    For windows users, this can also be caused by filesystem corruption.

    If all steps above do not correct the error:

    • Close Android Studio
    • Open Command Prompt as Administrator
    • Run a chkdsk /f on the drive your app is stored
    • Delete .idea folder
    • Restart Android Studio
    0 讨论(0)
  • 2020-11-28 01:29

    Goto .idea/modules.xml & delete the invalid/not existing path <module />. Then File => Invalidate Caches / Restart.

    0 讨论(0)
  • 2020-11-28 01:30
    Delete .idea folder 
    Close project ->
    Reopen Project ->
    Invalidate Caches / restart
    

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