Hi

I got this under Linux and I solved it by changing authorization of
tools files and platform/tools files

You must first go in the SDK directory and then
chmod +x tools/*
and then
chmod +x platform/android*/tools/*

You need also to have this directories in your PATH.

Regards

Andre


2009/5/8 LambergaR <martin.s...@gmail.com>:
>
> I am having the same problem. Richards solution doasnt help either.
>
> Any advice?
>
> On 5 maj, 00:13, Jinru He <mikehe1...@gmail.com> wrote:
>> Hi, Xavier,
>>
>> I encounter the same problem. and I am pretty sure that I didnot have
>> thegenfolderbefore updating to ADT 0.9
>>
>> How can i solve this problem?
>>
>> Thanks!
>>
>> On 4月30日, 下午5时54分, Xavier Ducrohet <x...@android.com> wrote:
>>
>> > When updating an old project that doesn't have thegensourcefolder
>> > setup, it first detects if thegenfolderalreadyexists, and if so,
>> > generates this error.
>> > The idea was tonotconvertand pre-existinggenfolder(or file) into
>> > an Eclipsesourcefolder.
>>
>> > Are you sure you didn't have thegenfolderbefore updating to ADT 0.9?
>>
>> > thanks
>> > Xav
>>
>> > On Thu, Apr 30, 2009 at 2:46 PM, Richard Schilling
>>
>> > <richard.rootwirel...@gmail.com> wrote:
>>
>> > > O.K. I resolved this.  The problem was related to the fact that
>> > > Eclipse couldn't properly handle thegendirectory that it created.
>> > > This error is generated:
>>
>> > > [2009-04-30 14:14:15 - MyApp] /MyApp/genalreadyexistsbutisnota
>> > >sourcefolder.Convertto asourcefolderorrenameit.
>>
>> > > So, here's how I resolved this problem:
>>
>> > > 1. Make sure Android 1.1 platform is selected for the project.
>> > > 2. Delete thegendirectory - let Eclipse update .classpath (if it
>> > > asks).
>> > > 3. Clean the project - Eclipse will regenerate thegendirectory
>> > > 4. Add the directorygento the Javasourceclasspath if R.java cannot
>> > > be resolved.
>> > > 5. Clean the project again.
>> > > 6. if you still have a problem with the above error showing up, delete
>> > > thegendirectory again and let Eclipse regenerate it.
>>
>> > > This should clear up the error.  Perhaps a change to the Eclipse
>> > > plugin or the Eclipse API needs to be made - I don't know.
>>
>> > >But, at least my projects are building now.
>>
>> > > Cheers,
>>
>> > > Richard Schilling
>> > > Root Wireless, Inc.
>> > >www.rootwireless.com
>>
>> > > On Apr 30, 2:34 pm, Richard Schilling <richard.rootwirel...@gmail.com>
>> > > wrote:
>> > >> I also get this in the message window:
>>
>> > >> [2009-04-30 14:14:15 - MyApp] /MyApp/genalreadyexistsbutisnota
>> > >>sourcefolder.Convertto asourcefolderorrenameit.
>>
>> > >> Richard
>>
>> > >> On Apr 30, 2:29 pm, Richard Schilling <richard.rootwirel...@gmail.com>
>> > >> wrote:
>>
>> > >> > I have a number of projects that were built and ran just fine under
>> > >> > the 1.1 version of the SDK.  I'm updating all of my projects.  Some
>> > >> > projects update with no problem.
>>
>> > >> >But, some Eclipse projects don't regenerate R.java properly in thegen
>> > >> > directory.
>>
>> > >> > I've set the Android platform to 1.1.
>> > >> > I've cleaned the project.
>> > >> > I've refreshed the project.
>> > >> > R.java is stillnotbeing generated.
>>
>> > >> > Help!  This issue prevents production applications from being bult at
>> > >> > the moment.
>>
>> > >> > Richard Schilling
>> > >> > Root Wireless- Hide quoted text -
>>
>> > >> - Show quoted text -
>>
>> > --
>> > Xavier Ducrohet
>> > Android Developer Tools Engineer
>> > Google Inc.
>>
>>
> >
>

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

Reply via email to