AndrWeisR commented on issue #1454: URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1173344072
> @AndrWeisR Could you try this in your project? as a test to confirm if this works for you... > > In `node_modules/cordova-android/lib/prepare.js` > > On line [306](https://github.com/apache/cordova-android/blob/11.0.0/lib/prepare.js#L306), you should see this: > > ```js > const destFile = java_files[0]; > ``` > > Change it to this: > > ```js > const destFile = path.normalize(java_files[0]); > ``` > > This should correct the path segment separator to the platform-specific path segment separator... The fix works - both destFile and newDestFile have '\'. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
