I think I worked it out by trial and error. The other project I was
trying to reference also had some dependent jars, and I needed to add
these as dependencies to my main app, now everything works as
expected.

Thanks!

On Sep 20, 5:16 pm, "Roman ( T-Mobile USA)" <roman.baumgaert...@t-
mobile.com> wrote:
> In general you have not to create a jar package and add it to your
> build path.
>
> Make sure that you have your project created as a Java project. Also
> make sure that you don't see any problems/errors.
>
> When you now add this project to your existing Android project, I
> normally select only the project tab in the Java build path and select
> the open Java project. After pressing OK, you should see that any
> dependency to your Java project can be resolved and existing problems/
> errors should disappear.
>
> Let me know if you still have any issues.
>
> --
> Roman Baumgaertner
> Sr. SW Engineer-OSDC
> ·T· · ·Mobile· stick together
> The views, opinions and statements in this email are those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
> On Sep 18, 11:11 am, "kevin.hooke" <[email protected]> wrote:
>
>
>
> > Is it possible to include other Java source projects in Eclipse into
> > an Android project? Normally for a regular Java project you do this by
> > adding the other project to the build path and including it in the
> > Project References.
>
> > This same approach lets the code compile, but when the app is deployed
> > to the emulator, it throws a VerifyError when I try and instantiate
> > classes from my other project.
>
> > Is this possible with the Android SDK? Do you have to build them to
> > jars and include them inside your Android project like this? I know
> > this works, but just involves more steps to do this.
>
> > Thanks,
> > Kevin Hooke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to