Cocos command line: how to configure project path? (aka: replace hardcoded proj.android)

Hi guys,

I would like to switch from the build_native.py to using the cocos command line, but I run into trouble because “cocos compile” hardcode looks for a proj.android folder. Mine is called Android, and therefor the script fails unless I rename my folder.

Is there a way to configure the path name, or do I have to manually edit the script file?

Kind regards,
Mich

1 Like

have you tried:

cocos run -p android -s PATH_TO_PROJECT/Android ??