Problem with binding to another project in Eclipse Android environment

I am developing an Android application as an Eclipse project that uses classes from another Eclipse Android project that I already have. When I originally imported it ( New Project > Android Project > From Existing Source), it had a lot of errors, but when I did Project > Properties > Java Build Pathand went to the “Projects” tab and added another project, the errors disappeared. Unfortunately, when I started the application, in DDMS I received the following error:

java.lang.NoClassDefFoundError: [package name].Config
[stack trace]

Is there something I need to add to the manifest telling him to look at another package? If so, where will it be added?

Thanks in advance

+3
source share
3 answers

. , JAR , Eclipse, Java Build Path, Android Manifest.

+1

File → Import...

" Workspace" . , src, res...

0

. , Android "".

, Android Add .

0

Source: https://habr.com/ru/post/1791723/


All Articles