-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Bug Report
Problem
What is expected to happen?
The build with spaces in the path worked fine on cordova-android 13
What does actually happen?
The build with spaces in the path fails on cordova-android 14
Information
This error appears in the console
Checking Java JDK and Android SDK versions
ANDROID_HOME=undefined (recommended setting)
ANDROID_SDK_ROOT=C:\Users\xxxx\AppData\Local\Android\Sdk (DEPRECATED)
Using Android SDK: C:\Users\xxxx\AppData\Local\Android\Sdk
Reading build config file: C:\Users\xxxx\projects\my_app\My App\build.json
Command failed with exit code 1: C:\Users\xxxx\projects\my_app\My App\node_modules\cordova-android\lib\getASPath.bat
'C:\Users\xxxx\projects\my_app\My' is not recognized as an internal or external command,
operable program or batch file.
Command or Code
cordova build android
Environment, Platform, Device
Windows 11
Version information
The only change in the project is going from cordova-android 13 to 14
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above