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?
|
2 answers
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:
- If the application module refers to the library, we pack it.
- 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.
- 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
|