I'm working on hybrid project of Angular with Android, my environment is Visual Studio Code. I'm trying to open this project in Android Studio with command "yarn studio", but it does not work. Does anyone have any suggestions? (P.S. commands "yarn" and "yarn build" work properly)
Error body in node terminal:
yarn run v1.22.19 $ export $(xargs <.env) && npx cap sync android && npx cap open android The system cannot find the file specified. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
CodePudding user response:
According to this documentation, use:
npx cap copy android
npx cap open android