copy android failed! Error: ENOENT: no such file or directory, stat

29 Views Asked by At

i am work on windows using android studio i try setting up development environment for the moodle app Specifically for android platform . i follow the instructions from moodle app site and When I reach the running step and execute "npx cap run android" command Everything seems fine Except for two messages that appear in the logs

  • × copy android - failed! [error] Error: ENOENT: no such file or directory, stat 'C:\Users\user\Desktop\moodleapp-main\cordova-plugin-moodleapp\www\index.js'

  • × update android - failed! [error] Error: ENOENT: no such file or directory, stat 'C:\Users\user\Desktop\moodleapp-main\cordova-plugin-moodleapp\www\index.js'

here's the full log :

PS C:\Users\user\Desktop\moodleapp-main> npx cap run android Copying web assets from www to android\app\src\main\assets\public in 6.21s Creating capacitor.config.json in android\app\src\main\assets in 1.66ms copy android [info] Found 28 Cordova plugins for android: @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] copy android - failed! [error] Error: ENOENT: no such file or directory, stat 'C:\Users\user\Desktop\moodleapp-main\cordova-plugin-moodleapp\www\index.js' Updating Android plugins in 98.17ms update android [info] Found 28 Cordova plugins for android: @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] @moodlehq/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] update android - failed! [error] Error: ENOENT: no such file or directory, stat 'C:\Users\user\Desktop\moodleapp-main\cordova-plugin-moodleapp\www\index.js'

0

There are 0 best solutions below