I transferred my development from Windows to Mac.  I have the latest
version of Eclipse, and the 1.5 r2 SDK.  I have successfully ran a
sample Hello world app to make sure it all fits together properly.

I then imported my library projects (called MyLib) that holds many
reusable classes of mine.  I also imported some projects that depend
on the MyLib package.

When I open my projects, Eclipse asks me if I want to open dependent
projects as well, and I select yes.  The MyLib project folder opens up
as it should, and I see the folder in my project as well with the
small link arrow on it.

When I look in my project properties -> project references, the MyLib
folder is checked.

When I run my project, it outputs in the debugger (LogCat):

(in yellow)
dalvikvm failed resolving 'Lcom/mycompany/myapp/Splash; interface 22
'Lcom/mycompany/MyLib/MyClass$MyClassCallback;'

dalvikvm Link of class 'Lcom/mycompany/myapp/Splash;' failed

(where MyClass.MyClassCallback is a required interface to one of my
library classes)

(some other stuff...)

(in red)
java.lang.RunTimeException:unable to instantiate activity
ComponentInfo
(com.mycompany.myapp/
com.mycompany.myapp.Splash):java.lang.ClassNotFoundException:com.mycompany.myapp.Splash
in loader dalvik...

Any ideas as to what I'm doing wrong?  Did I fail to link my library
properly?

I've changed many build path properties back and forth trying to get
it to work, but nothing seems to make a difference.

Please help!

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

Reply via email to