FAQ #8330, published on 2013-10-28
WINDEV, WEBDEV, WINDEV MOBILE
If compiling an Android application results in an error such as "Failure creating the Android application named <foo.apk>. Command Line: "C:\Program Files (x86)\Java\...\bin\javac.exe" -encoding UTF-16LE -nowarn -source 1.5 -target 1.5 -d bin\classes -bootclasspath "C:\Program Files (x86)\Android\android-sdk\platforms\android-10\android.jar" here is what to do
If compiling an Android application results in an error such as

Failure creating the Android application named <foo.apk>.
Command
Line: "C:\Program Files (x86)\Java\...\bin\javac.exe" -encoding
UTF-16LE -nowarn -source 1.5 -target 1.5 -d bin\classes -bootclasspath
"C:\Program Files
(x86)\Android\android-sdk\platforms\android-10\android.jar"

you need to move your Android SDK outside of the /Program Files/ folder.

1. Delete the following folders

C:\Users\<Username>\AppData\Local\VirtualStore\Program Files (x86)\<RepAndroid>
C:\Users\<login>\AppData\Local\Temp\FRMK_Android

2. Delete the following file

C:\Users\<Username>\AppData\Local\VirtualStore\Program Files (x86)\PC SOFT\WinDev Mobile 18\Programs\Framework\Android\us\wd180android.jar

3. Delete the Android SDK

4. Install again the Android SDK, but not in "/Program Files/", use for example c:\AndroidSDK

5. Run the c:\AndroidSDK\SDK Manager.exe in order to get the SDK and all the required modules.


From now on, you shouldn't have any trouble compiling.