Question about the settings of the Android project in IntelliJ IDEA. If you open File -> Project Structure -> Modules -> <some module> -> Dependencies -> <some dependency> , then you can see the option "Export" (checkbox). What does this option mean for the Android project in particular?

alt text

    2 answers 2

    In general, "Export" means that modules that depend on who exports can also use this library.

    Specifically, in the Android application "Export" works like this:

    1. If the application module refers to the library, we pack it.
    2. If the application module refers to the Android library, and it refers to the library, then we also pack it. There may be a chain of libraries.
    3. If the android module (application or library) refers to a regular java module that references a library, then we pack it only if the "Export" option is selected. That is, in the Android application "Export" looks only in this case.

      Click the Help button in the same window - everything is written there