Skip to content Skip to sidebar Skip to footer

Not Use Gradle In Android Studio

I upgraded to the latest release of Android Studio and it no longer recognizes .iml files as projects. Previously, importing an Android project from just sources would create just

Solution 1:

Android Studio is based on Intellij Idea in which .iml files are "IntelliJ IDEA Module" file which contains all information about module's its dependencies in the projects, each module will have its own .iml file which is a part of project structure in Intellij. Where build.gradle files are for building your application using gradle build system.

In AS 0.4.3 a lot of improvements are done for importing and converting eclipse project automatically in Gradle which doesn't allow to import eclipse project as it is.

I found a workaround to do this please follow the steps

  • Create a new folder/directory
  • Move your Eclipse project inside it
  • Now from import option in AS select the newly created directory instead of direct eclipse project directory.

Studio will give you a suggestion to move the project in Gradle as soon as it is done with import, don't do that.

But I strongly recommend you to start using gradle build system.

Have a look in to the Scott's explanation here :

Android Studio 0.4.3 Eclipse project without gradle

Post a Comment for "Not Use Gradle In Android Studio"