What Does Clean Project Do Android Studio?
Contents

4 Answers. It removes whatever already-compiled files are in your project meaning it removes the . class files and recompiles the project again. Clean action, basically invoking ./gradle clean task in your application directory, which is removing all generated files, removes build folders.

What does build clean project do in Android Studio?

Clear your project directory

Obviously, try to clean your project from android studio : “Build -> Clean Project”. This will clear your build folders. Clear the cache of Android Studio using “File -> Invalidate Caches / Restart” choose “Invalidate and restart option” and close Android Studio.

What does build clean project do?

When you do clean, it removes the binaries inside build folders, and postpones building them again to the next run. When you do rebuild, it does clean and rebuild for those files inside build folder, which rebuilt again in the next run.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest