Android Studio 3.2 Generated java

后端 未结 2 2054
甜味超标
甜味超标 2020-12-31 08:53

I just updated android studio in latest version and here is a new directory named Generated Java, can anyone explain what is it and any effect on projects if I delete this d

2条回答
  •  有刺的猬
    2020-12-31 09:43

    One of the new features that came with Android Studio 3.2.1

    You can actually edit them, but when they will be regenerated, all your edits will be lost. If you open one such file, Android Studio will show the message:

    Files under the "build" folder are generated and should not be edited.

    And if you try to edit it anyway, the message changes to:

    Generated source files should not be edited. The changes will be lost when sources are regenerated

提交回复
热议问题