I have created an Android Library. That has all the main code. Also I have created a project called App1. I have referenced the library through maven in the App1. Also I have made it reference through the Project->Properties->Android-> Reference to the library.
When I build the project through cygwin using "mvn install" I get following error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project App1: Compilation failure: Compil
ation failure:
[ERROR] \LIBRARYPROJECT\Branding-Private\App1\src\main\java\comxyz\main\AApplication.java:[3,42] cannot find symbol
[ERROR] symbol : class AApplication
**This class AAplication is in the Library project. It is not able to reference it. This project was able to reference it without maven before. After using maven it is not able to reference it.
Can anyone help?
Thanks, Sneha