I am currently working on an Android project (let's call it project A), and i want to add an already existing project (B) to my A-project, so that i can use the methods of project B. First I tried adding the project via the Java Build Path, but that was impossible, because my original Project-B-Folder was just a default-project, and not a java-project. I changed it to be a java-project, and then i added it in my java build path of project A.
Now when I did this the first time, it worked quite well for me. The Files in the Project-B-Folder turned into Packages, which i could import into my .java-files from Project A. Eclipse found the packages while i was typing them, but when i saved the file, it showed the "The import XXX cannot be resolved error". I decided to redo all the build path stuff, but now, all my folders in Project B remain to be folders, and won't turn into packages. And in Project A, I cannot find them via the import command, although i have added the project B to my Java Build Path again.
Do you have any help for me? Thx in advance!