importing existing files as a package [message #698748] |
Wed, 20 July 2011 03:22  |
Eclipse User |
|
|
|
I have a group of files in an hierarchical file system (com.psf.android....) that is outside of the projects' scope (i.e., in a different branch of the file system).
I've tried "importing" this as a file system for an app package that will use a class from this external file system.
It shows up in the workspace view as an icon of a folder with a blank box in the lower right corner (not as a package). The icon name is com, and it expands to reveal the complete hierarchy with the class files as I would expect.
However, when I try to use the package name in an import statement, I get
"the import com.psf cannot be resolved."
When I try to fully describe a type (com.psf.android.Example) within the code in an instantiation, I get
"cannot be resolved to a type"
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03741 seconds