Android Question "Clean project", but with exceptions

Filippo

Expert
Licensed User
Longtime User
Hi,

I want to archive my project after it has compiled successfully, keeping only the most important files.

Here's an example:
I want to keep only the files from the “src” directory, as they are necessary for debugging.

1779720958514.png


All the files in these folders marked in red can be deleted. In this example, that alone saves me 25 MB.
The “Clean project” function deletes everything, but I want to keep the data in the “src” folder.
Is there already a ready-made solution I could use, or do I have to create one myself?
1779720973090.png
 
Top