Friday, March 4, 2011

Delphi For Android: Invalid Android SDK Directory

When you run the compiler "dccdroid.exe" and get the following error:

"Invalid Android SDK directory, please make sure that the 'AndroidSDKDirectory' application config points to a valid Android SDK location."

There are a few things you need to check:

1. Update the "DCCDroid.exe.config" file:



Change this to point to location of your Android SDK directory.

2. Make sure that "adb.exe" can be found in that directory e.g on my location machine:

C:\Lennie\Android\android-sdk_r04-windows\android-sdk-window\adb.exe