android - Import Java Project, not found src -


Let me know that I'm new to Java and I have this problem with an Android app.

The app is created by two projects, Launcher activity (Project A) and second one (Project B), in which there are some common SRCs for many Android apps (like http connection classes etc.).

I have imported Project A from A, and my project A's Mary In Java files, I can import source without problem ( Import from B ;)

but when I'm debugging and It is to use a file from B, so I get a nocosfafend act with the path of some file in Project B.

After that, my app fails and closes.

Sorry if my English is complex, hope you understand my problem and can help me.

I think this is about a missing step in my import.

Importing puts these projects into your workspace if you have 2 separate projects They should be imported as separate projects. Either click on the import correctly and navigate to your file system or if they are already in your workspace, then create a new Java project and name it as the directory of the project (the wizard will make it clear that it is a Java recognizes that the project exists in that folder).

Then check to ensure that a package import is correct for package names and the other. If they were not, then errors should be checked on those lines.

Finally, make sure that the project that you are actually running is another project on the construction path, right click on the project, configure the build path, and add the package. Alternatively you can use some way to install such a package as a jar, which will automatically update to Project B, when Project B changes)


Comments