I have an eclipse workspace containing several projects.

One project is an android project, containing a custom view (say
MyView) which I have added to my main.xml layout.  My custom view
references a class (say OtherClass) in another project in the
workspace.  The visual layout editor in Eclipse will not draw MyView,
because it takes a ClassNotFoundException on OtherClass.

I have included OtherClass's project in the "Java Build Path" and
"Project References" in the project properties for the android project
containing MyView.  MyView draws fine in the emulator.  It is only in
Eclipse's visual editor for the layout that I have a problem.

Is there another place to add to the classpath for the visual layout
editor?  Is this a known problem?  (If googled for it and looked at
the android FAQ to no avail.)

Thanks,
Jeff


P.S. I am using Eclipse version 3.3.2, Android SDK 1.0 r1, and JDK
6.0_02.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to