android - Nested Library Projects. Accesing to jars -
i have 2 library project , 1 main project. current structure: main project -> (depends on) 1 library project -> 2 library project.
2 library project contains .jar, want access main project. noclassdeffound exception, when running application on device.
note:
1. 2 library project exportes .jar , private libraries
2. 1 library project exportes 2 library projects , private libraries.
3. using build tools v17.
thanks.
are trying launch activities , use classes in main project in 2 library project? if causing issue.
you thinking library projects in wrong way. if have main project yours needs include every project depends on. example have main project needs 2 libraries b , c, both libraries rely on library a.
it not this
main
-> lib a
lib b
-> lib a
lib c
-> lib a
rather should this:
main
-> lib
-> lib b
-> lib c
lib b
-> lib a
lib c
-> lib a
thus should able solve problems including 2 library project in main project 1 library project.
Comments
Post a Comment