Move your project into a directory with no spaces in its path.

I have run into this sort of problem a few times with Android, and
with other tools, so I pretty much avoid any path with spaces in it
for as much as possible.

On Fri, Dec 10, 2010 at 8:57 AM, Omri <[email protected]> wrote:
> Hi, Anyone have any idea why this is happening and how to fix this?
>
> On Dec 8, 10:07 am, Omri <[email protected]> wrote:
>> On the new android platform tools (v8) released with the 2.3 SDK, I
>> get an error while running dex from the ant script
>>
>> I typed the usual "ant release", and got an error in the dex stage
>>
>> -dex:
>>      [echo] Converting compiled files and external libraries into C:
>> \Documents a
>> nd Settings\omri\My Documents\my app\builddir\classes.dex...
>>     [apply] =C:\Documents was unexpected at this time.
>>
>> BUILD FAILED
>> C:\Android\tools\ant\main_rules.xml:449: The following error occurred
>> while exec
>> uting this line:
>> C:\Android\tools\ant\main_rules.xml:199: apply returned: 255
>>
>> I know its because of the spaces in the path, but I'm not sure as to
>> how to fix this.
>> any help would be very appreciated.
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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