Build Error #5 (The filename, directory name, or volume label syntax is incorrect.)

Hi 

I’ve tried to search the same issue in the threads before . 

But there is something different.

When I try to build Android apk, I got build error#5

And it print “The filename, directory name, or volume label syntax is incorrect.” in my console.

Does anyone know what I should check first ?

Thank you all.

BRs, K.

btw  I’m using the latest release 

Corona SDK on Windows Build 2013.1137

Hi @kodomo,

We’ll need a few more details to assist you. What is the file path and directory you’re using? Which version of Windows? Any more specifics you can provide will be helpful.

Thanks,

Brent

Hi Brent

More detail info

Windows XP Service pack 3
java SE 6u45

Corona SDK is in “D:\Program Files\Corona Labs\Corona SDK”

My project is in “E:\My Documents\CoronaProject\XXXXX”

I also try to move my project under the same folder as SDK “E:\My Documents\CoronaProject\XXXXX”

And the issue is still the same .

Thanks for your help.

K.

Do you have any UTF8 characters in your user path? We do store the build results from the server in a temporary directory which may be generating the error. This is an outstanding Windows Simulator bug that we are trying to address and may be what you are seeing.

One possibility may be that the path “C:\Documents and Settings\使用者\Application Data\Corona Labs” contains UTF8 char.

Is there any way to indicate the path of this folder ?

Can you build any of the sample apps?

Nope I can’t create the apk of samples.

The console prit the same “The filename, directory name, or volume label syntax is incorrect.”

Can you create a new user that doesn’t have any UTF8 characters and see if you can build under that account?

That’s OK

I try to build apk in the different user, and it works.

Thank you all.

Glad you got it solved!

btw  I’m using the latest release 

Corona SDK on Windows Build 2013.1137

Hi @kodomo,

We’ll need a few more details to assist you. What is the file path and directory you’re using? Which version of Windows? Any more specifics you can provide will be helpful.

Thanks,

Brent

Hi Brent

More detail info

Windows XP Service pack 3
java SE 6u45

Corona SDK is in “D:\Program Files\Corona Labs\Corona SDK”

My project is in “E:\My Documents\CoronaProject\XXXXX”

I also try to move my project under the same folder as SDK “E:\My Documents\CoronaProject\XXXXX”

And the issue is still the same .

Thanks for your help.

K.

Do you have any UTF8 characters in your user path? We do store the build results from the server in a temporary directory which may be generating the error. This is an outstanding Windows Simulator bug that we are trying to address and may be what you are seeing.

One possibility may be that the path “C:\Documents and Settings\使用者\Application Data\Corona Labs” contains UTF8 char.

Is there any way to indicate the path of this folder ?

Can you build any of the sample apps?

Nope I can’t create the apk of samples.

The console prit the same “The filename, directory name, or volume label syntax is incorrect.”

Can you create a new user that doesn’t have any UTF8 characters and see if you can build under that account?

That’s OK

I try to build apk in the different user, and it works.

Thank you all.