Skip to content

ns clean windows shows that everything has gone well but does not delete the platforms folder #5588

@vallemar

Description

@vallemar

When you run ns clean and the platform folder is in use "for whatever reason" the cli message is that everything has gone well (next image). However, it has not been able to clean the platform folder and then in the next ns run android it always returns an error type:
image

FAILURE: Build failed with an exception.

* What went wrong:
Task 'assembleDebug' not found in root project 'pricelight'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

This is very confusing, since you think that the directory has been cleaned and when you start you have an error. For experienced people you may realize it but for new people you can go crazy.

I think that ns clean should check if it has really deleted the platform folder and if it has not been able to put a very large error indicating that it must be eliminated manually or the project will not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions