1

I'm tryin to import a Java module from Intellij IDEA to my Android Studio. The module provides certain functionalliy for creating pdf documents.

Now, the Android Studio won't let me to import this module because it is built by Gradle.

I would like to know how can I integrate my module to my existing Android Studio project. Furthermore, I'd like to know what are those .iml files in the root directory of the project.

David Lasry
  • 829
  • 3
  • 12
  • 31

1 Answers1

0

You could build the jar dependency from your module in IntelliJ IDEA and include this jar into the build.gradle dependencies. There is also another way to do it.

.iml files represent module information. Your module was of the Java type and Android Studio doesn't support plain Java modules, therefore there is no direct way to import it.

Community
  • 1
  • 1
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904