Tuesday, March 27, 2012

Re: [android-developers] sdk tools 17 and 'normal' java projects in eclipse

On Wed, Mar 28, 2012 at 2:29 AM, ehm djii <ehmdjii@gmail.com> wrote:
>
> so, how can you reference normal java projects from an android project as of
> sdk tools 17?
>
>

You can. The only change you need to make is to mark the project as exported,
so its classes get added to classes.dex.

1. Open project properties
2. Open Java Build Path->Order and Export
3. Check the checkbox next to your 'normal' project
4. Clean and run your project
5. Profit :)

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate