Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vallemar opened this issue Oct 6, 2021 · 0 comments · Fixed by #5601

Comments

@vallemar
Copy link
Contributor

vallemar commented Oct 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant