Reduce Android Studio Project Size

前端 未结 6 1322
再見小時候
再見小時候 2021-02-01 02:48

I want to reduce Android Studio project size to save it for after use

In MS Visual Studio, we can delete *.ipch, *.sdf and Debug files to reduce the project size

6条回答
  •  别那么骄傲
    2021-02-01 03:24

    In Android Studio, go to the Terminal window. If you did not go to a different directory since you opened the IDE, you should find yourself on the top level of your project folder (something like ../Android Studio/projectname). There you simply type

    ./gradlew clean

    That's it. I just reduced my project folder size from 589 MB to 21 MB.

提交回复
热议问题