Skip to content

Document and/or add command to add 'natives' back into a project later #1472

Open
@raould

Description

@raould

I haven't seen that there's a way to add the 'natives' back in to my project at a later date.

cocos new -l js --no-native

Now my project only works for HTML5 and cannot build for e.g. Android. Is there a cocos command to then add the 'native' support back in afterwards? Currently it looks to me that I have to start a whole new project all over again to get the 'natives' (and then copy over my source files).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions