BjoernKorioth opened a new issue #913: Not able to generate APK file URL: https://github.com/apache/cordova-android/issues/913 # Bug Report ## Problem I am trying to build and android version of my ionic application. Sadly I am not able to generate an APK file. I am running the command "ionic cordova build android". The sub task "cordova.cmd build android" stops with: config file undefined requested for changes not found at C:\Users\d060445\university\Team Project\Tracktivity\moveit\platforms\android\undefined, ignoring config file undefined requested for changes not found at C:\Users\d060445\university\Team Project\Tracktivity\moveit\platforms\android\undefined, ignoring The "path" argument must be of type string. Received type undefined running "cordova.cmd build android --verbose" shows: Updating resource files at platforms\android copy resources/android/xml/network_security_config.xml platforms\android\app\src\main\res\xml\network_security_config.xml (updated file) Prepared android project successfully The "path" argument must be of type string. Received type undefined TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at validateString (internal/validators.js:112:11) at Object.join (path.js:375:7) at ConfigKeeper_get [as get] (C:\Users\d060445\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\ConfigChanges\ConfigKeeper.js:45:26) at C:\Users\d060445\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\ConfigChanges\ConfigChanges.js:346:51 at Array.forEach (<anonymous>) at is_conflicting (C:\Users\d060445\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\ConfigChanges\ConfigChanges.js:339:17) at PlatformMunger.add_config_changes (C:\Users\d060445\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\ConfigChanges\ConfigChanges.js:190:33) at C:\Users\d060445\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:112:32 at _fulfilled (C:\Users\d060445\university\Team Project\Tracktivity\moveit\node_modules\q\q.js:854:54) at C:\Users\d060445\university\Team Project\Tracktivity\moveit\node_modules\q\q.js:883:30 ________ I have already tried several times to remove the android platform and add it again to my project, but the issue still persists. Version of cordova: $ cordova -v 9.0.0 ([email protected]) ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ x] I searched for existing GitHub issues - [x ] I updated all Cordova tooling to most recent version - [ x] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
