Answer the question
In order to leave comments, you need to log in
How to use a class in multiple projects?
Two projects have similar functionality, it makes sense for the convenience of development to make a common class that would be used in both applications.
I tried to import a class from a different namespace in Eclipse, but when one application starts, 1) the second is automatically installed and 2) a NoClassDefFoundError is thrown.
Question: how to properly organize the project hierarchy and set up the IDE?
Answer the question
In order to leave comments, you need to log in
Move the class to the android library project and connect it to the necessary applications
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question