Wednesday, March 28, 2012

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

Am Mittwoch, 28. März 2012 06:02:11 UTC+2 schrieb Nikolay Elenkov:
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


i dont see my own project  o its Order and Export tab. i only see the referenced projects there. and if those are marked for Order and Export, nothing changes.

Am Mittwoch, 28. März 2012 06:02:11 UTC+2 schrieb Nikolay Elenkov:
> 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 :)

thanks but i dont see the project itself on its Order and Export tab. i only see the referenced projects there. and if those are marked for Order and Export, nothing changes.

also, if this is the recommended way to get things working, was this documented anywhere?

--
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