josehector commented on issue #913:
URL: https://github.com/apache/cordova-android/issues/913#issuecomment-659333032
I have the similar issue but I am not using ionic.
When I try "cordova run android --verbose" I get this error:
```
BUILD SUCCESSFUL in 3s
41 actionable tasks: 41 up-to-date
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 assertPath (path.js:39:11)
at Object.resolve (path.js:168:7)
at fs.readdirSync.map.entry
(C:\Dev\workspace\ITV\platforms\android\cordova\lib\builders\ProjectBuilder.js:79:31)
at Array.map (<anonymous>)
at recursivelyFindFiles
(C:\Dev\workspace\ITV\platforms\android\cordova\lib\builders\ProjectBuilder.js:78:10)
at findOutputFilesHelper
(C:\Dev\workspace\ITV\platforms\android\cordova\lib\builders\ProjectBuilder.js:97:17)
at ProjectBuilder.findOutputApks
(C:\Dev\workspace\ITV\platforms\android\cordova\lib\builders\ProjectBuilder.js:365:16)
at C:\Dev\workspace\ITV\platforms\android\cordova\lib\build.js:181:33
at process._tickCallback (internal/process/next_tick.js:68:7)
```
In my case, APK file is generated but it is not installed on the device.
Version of cordova:
$ cordova -v
9.0.0 ([email protected])
$ cordova platform ls
Installed platforms:
android 9.0.0
Available platforms:
browser ^6.0.0
electron ^1.0.0
ios ^5.0.0
osx ^5.0.0
windows ^7.0.0
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]