Refrencing android project with another android prject
I have a problem that I want to reference with another android project, I am generating jar of one project and included that within another project but there is an error as Error 开发者_StackOverflow社区generating final archive: found duplicate file for APK: res/values/strings.xml
How it can be resolved?
Convert one project to a library project and reference it from the other project.
Maybe you want to use an android library project. Go to the projects preferences and check "Is library project". On the main project, simple add the library project you just created. That should resolve this.
Library Project in the Android docs
精彩评论