I have problems using variables from library modules in IntellliJ IDEA 11.
My steps were:
- Created a new Android project
- Added new module (File->New Module) and made sure I add it as a library
- Module was correctly recognized as a library module and became part of the main project’s tree
- I created a new class in library project and added a test variable
- I tried to reference this variable from the main project, but it does not see it.
I’ve posted images showing project tree structure, library class with a public variable and error in the main project. IntelliJ did not recognize my library class and did not offer any import. Manual import of library project did not work either.


What am I doing wrong?
Make sure to add the library module as a dependency to the main module.