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

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

    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.

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

    1- close the project

    2- close Android Studio IDE

    3- delete the .idea directory

    4- delete all .iml files

    5- open Android Studio IDE and import the project

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

    I have encountered this problem.

    I'm using buildSrc in my project.

    I think the problem is with buildSrc. To solve the problem;

    1- Kotlin and Android Stuido version updated (Kotlin version is 1.3.21, Android Studio version is 3.4)

    2- Clean cache and restart android studio

    But the problem is not solved.

    As a last resort, I deleted the project file and clone it over git and the problem is solved

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

    I solved a similar problem by closing the project, then re-importing the project (not opening, but re-importing as an eclipse or other project)

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

    rename project directory fix error for me, android studio 3.4.2

    0 讨论(0)
  • 2020-11-28 01:12
    1. Delete .idea/modules.xml
    2. Reload All Gradle Projects

    You do not want to remove entire .idea directory, because it contains e.g. dictionaries and shelved changes.

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