run.bat needs to use quotes on the path.

The runt.bat uses unquoted paths:

REM Setup variables
set SDK_DIR=C:\Program Files (x86)\Android\android-sdk
set ADB=%SDK_DIR%\platform-tools\adb.exe

echo # Trying to uninstall existing version of APK
%ADB% uninstall com.TestApp || goto ERROR

Running "C:\Users\USER\Documents\Fuse\\Simulator\Android\run.bat"

# Trying to uninstall existing version of APK
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
(exit code: 1)
ERROR: Native target failed to run

fix: Use “%ADB%” instead of %ADB%

Thanks for the report, making a ticket internally for this :slight_smile:

Matias, Jake, hi, I have almost the same issue:


Build complete.

Trying to uninstall existing version of APK “C:\Program” no se reconoce como un comando interno o externo,

programa o archivo por lotes ejecutable.

(exit code: 1)


Where do I have to apply the fix? (fix: Use “%ADB%” instead of %ADB%)

Hey guys, so sorry that this fell through the cracks. We will get this fixed and released asap.

Thanks so much for keeping us on this and sorry again.

As a workaround until we get a new release out you can apply the fix hemisferio mentioned (Use “%ADB%” instead of %ADB%) in %programdata%\uno\Packages\UnoCore\0.19.6\Targets\CPlusPlus\Android\run.bat

Note: this will fix issues due to spaces in paths but not spaces in the project name itself. That issue will be fixed in a later release (but luckily it’s a lot easier to avoid as well!)