I want to share with you my current attempt and I may have Forgot something. In addition, if there is a tutorial or something similar that I can follow so that I can run the android moodle app and start modifying it, please let me know.
* my environment information
i work on windows 10 .
i installed moodle app "main branch" from "https://github.com/moodlehq/moodleapp".
i have already git installed , and i have already node.js and nvm installed from previous attempts i use node version 18.19.0 and npm 10.2.3.
also i have already native sdks for android platform installed from previous attempts.
then i try install production windows-build-tools but It didn't work then i visit official npm for windows-build-tools package i found there message tell me "This package has been deprecated" and Node.js now includes build tools for Windows. You probably no longer need this tool
then when i try run bu "npm run dev:android" doesn't work and got some errors like :
1 - [0] 'NODE_ENV' is not recognized as an internal or external command,
'NODE_ENV' is not recognized as an internal or external command,
[0] operable program or batch file.
2 - [0] Failed to restore plugin "cordova-plugin-moodleapp". You might need to try adding it again. Error: Error: Command failed with exit code 1: C:\Users\user\Desktop\moodleapp-main\scrip
3 - [0] [ERROR] An error occurred while running subprocess cordova.
[0] cordova.cmd platform add android --save exited with exit code 1.


