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

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

    Invalidate Caches and Restart did not work for me. I also updated all my Android Studio files with no success.

    The solution I found was importing the android folder by clicking "Import project (Eclipse ADT, Gradle, etc.)" rather than clicking "Open an existing Android Studio Project" or dragging the folder onto the app icon.

    Apparently the problem is caused because a module in the project has an *.iml file that does not contain external.system.id="GRADLE".

    When you import the project (as opposed to opening it), the iml files are completely re-written, thus removing the error.

    I found the info here: https://issuetracker.google.com/issues/37008041

提交回复
热议问题