Can't compile the demo on 0.4.1 version.

62 views
Skip to first unread message

Spyd

unread,
Apr 4, 2011, 11:15:11 AM4/4/11
to Delphi For Android Developers
I get the following error:

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

I get this error trying to compile the demo program. It compiles ok
from the Delphi source after changing the uses clausule from
"AndroidDialog" to "Android.Dialog".

When I had this error, I updated the DCDroid.exe.config file to use
the short names (In my case PROGRA~2), and now my error message is
this:

"C:\Progra~2\Android\android-sdk-windows\platform-tools\android" no se
reconoce como un comando interno o externo, programa o archivo por
lotes ejecutable.

Note that my android SDK path on the config file is "C:
\Progra~2\Android\android-sdk-windows\platform-tools", as I had to add
the platform-tools dir at the end because is where the adb.exe file
resides in my android SDK.

The last issue I'm having is that the compiler process freezes on "Get
form layout...". It never ends, only if I press Ctrl+C, but I guess is
something related with the first error.

Strax

unread,
May 30, 2011, 9:47:42 AM5/30/11
to Delphi For Android Developers
Did you fix this already ? I'm getting the same error at this moment:

------
Create Android project...

'C:\Android\android-sdk\platform-tools\android' is not recognized as
an internal
or external command,
operable program or batch file.

Convert DFM to text...

Get Form Layout...
-------

At this point, it freezes

My DCCDroid.exe.config file is pointing to the following
AndroidSDKDirectory:
C:\Android\android-sdk\platform-tools

Lennie De Villiers

unread,
Jun 18, 2011, 12:57:28 PM6/18/11
to delphi-for-and...@googlegroups.com
Hi,

Are you running this on a MS Windows machine? Please post your .config file.

Thanks
--
Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/
Reply all
Reply to author
Forward
0 new messages