On Thu, Jun 18, 2009 at 7:39 AM, Balwinder Kaur
(T-Mobile)<[email protected]> wrote:
>
> I would suggest you just create new Eclipse Projects for each of the
> apps.  [ I assume you are referring to  the source code downloaded
> from http://code.google.com/p/apps-for-android/source/checkout ]
>
> Here are the steps to do it.
>
> Eclipse->File->New Android Project. Within the "Contents" section,
> Select "Create project from existing source" and set the Location to
> the root of  your app directory. e.g. <your_path_to_apps_for_android>/
> projectname

This is the way to do it. To be exact, select the directory that
contains the AndroidManifest.xml file. You need to do that for each
project.


> I also noticed that some of these have R.java in their source tree.
> You may have to delete that file and just use the one that gets auto-
> generated under the "gen" folder in your eclipse project.

Yes. ADT does not clean an existing R.java unless it generated itself,
so you have to do it manually.

R/


> Hope this helps,
> Balwinder Kaur
> Open Source Development Center
> ·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 Jun 18, 12:43 am, "Tony S." <[email protected]> wrote:
>> Hello,
>>
>> I checked out the source code of Apps-For-Android from the repository,
>> but I can't load it up / import to Eclipse.
>> I noticed the source code haven't got the  ".project"  file (and maybe
>> some other would be missing).
>>
>> So, I'd like to know how to create a project, or the missing files for
>> Eclipse to recognize it. Does anybody know how to do it?
>>
>> Thanks!
>> Tony S.

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