Launcher currently uses a number of experimental/private APIs.

If you are doing this to create something you will place on Market, you
*must* change the code to not use those APIs.

If you are doing this as part of platform development for a device,
personally I would recommend just using the platform's build system.

Any tricks one uses to build Launcher in Eclipse without fixing the code
will *not* create an application that should be placed on market.  (And if
you do, I can guarantee that future versions of the platform will break the
resulting app.)

On Tue, Sep 21, 2010 at 9:26 AM, Paolo <[email protected]> wrote:

> I followed the guide you have posted. Thanks a lot.
>
> Now I can see the android SDK source code in Eclipse, but I'm still
> not able to compile the Launcher anyway... Eclipse always shows the
> same error on the Launcher code... why? Is there something I don't
> undestand?
>
> Thanks,
> Paolo
>
> On 21 Set, 13:01, mani <[email protected]> wrote:
> > Hi you cannot compile the Launcher code in eclipse with SDK.
> >
> > Certain API's are private not exposed to the public SDK.
> >
> > Ex. import android.renderscript.*
> >
> > But there are certain ways to compile AOSP in eclipse. Please go
> > through this link.
> http://blog.michael-forster.de/2008/12/view-android-source-code-in-ec...
> >
> > Thanks,
> > Mani
> >
> > On Sep 21, 6:21 pm, Paolo <[email protected]> wrote:
> >
> >
> >
> > > I have just donwload the source code of the Android default Launcher
> > > here:
> http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;...
> >
> > > But when I import the project, i can't compile it because there is a
> > > lot of errors. Many of this are unresolved name, package, class and
> > > variables... why? what is the problem? How can I solve it?
> >
> > > Please help me.Thanks.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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