breautek commented on issue #1658:
URL: 
https://github.com/apache/cordova-android/issues/1658#issuecomment-1699710049

   cordova-android@10 is out of support. The current version is 
cordova-android@12, which uses API 33, which is what is required to deploy to 
Google Play. So the first thing I'd try is try to use cordova-android@12 
instead of 10.
   
   If you still see `ENOENT: no such file or directory, mkdir 
'platforms/android/app/src/main'`
   
   it suggest that the folder structure isn't being generated as expected. To 
remove influence from frameworks, I'd try to see if you can reproduce the issue 
in a sample cordova app without the use of frameworks.
   
   ```
   cordova create testapp
   cd testapp
   cordova platform add android@12 --verbose
   ```
   
   If it fails, please post the output of the `cordova platform add android@12 
--verbose` command.
   If it works successfully, then it suggests an issue inside the Ionic CLI.
   
   Please let me know what is found.


-- 
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]

Reply via email to