Android Question B4A installation problem

sirjo66

Well-Known Member
Licensed User
Longtime User
Hello to all,

I'm installing B4A on my laptop (with Windows XP) and I have a problem.

I have installed all I need, then I run B4A, it create a new project.
I configure paths with this values:
javac.exe = C:\Programmi\Java\jdk1.7.0_60\bin\javac.exe
android.jar = C:\Programmi\Android\android-sdk\platforms\android-11\android.jar
Additional libraries = C:\Android\B4A\LIBRARY
Shared Modules = (empty)


When I compile project (with Alt+2) it tell me: "Program compiled successfully", but when I run project (with Alt+1) an error message appeare:
Path contains illegal characters. Please install Basic4android in a path without spaces (this issue is related to Android SDK).

my Basic4android is installed in C:\Programmi\Anywhere Software

Can you tell me why ??
On my desktop PC, with the same directory, it works, and (as you see) there aren't spaces into directory paths name.

Many thanks for your help

Sergio

Edit:
Here is complete log when I press Alt+1:

Parsing code. 0.02
Compiling code. 0.06
Compiling layouts code. 0.02
Generating R file. 0.05
Compiling debugger engine code. 0.84
Compiling generated Java code. 1.00
Convert byte code - optimized dex. Error
Path contains illegal characters. Please install Basic4android in a path without spaces (this issue is related to Android SDK).
 

sirjo66

Well-Known Member
Licensed User
Longtime User
Yes, but this is the default name, I don't have change anything during the installation
 
Upvote 0

sirjo66

Well-Known Member
Licensed User
Longtime User
IT WORKS !!

I have re-installed B4A on a folder without space and works very well !!

Thanks !!
 
Upvote 0

Dominex

Active Member
Licensed User
Longtime User
On most computers there is no problem with spaces. On some computer for unknown reason the Windows API which returns the "safe name" doesn't work properly. In that cases you need to move Basic4android to a folder without spaces.
Hi Erel,

I have the same problem that had sirjo66, but even though I installed Basic4Android in a folder without spaces (c: \ Basic4Android) the error remains, I can not solve it.

Before I was on a 32bit, now I'm on a 64bit, I do not know if this can be useful.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…