Rename package in Android Studio

后端 未结 30 1917
深忆病人
深忆病人 2020-11-21 05:21

How do you rename packages in the new IDE Android Studio, based on IntelliJ IDEA?

Is there an automatic refactoring included?

I want to make bulk refactorin

30条回答
  •  礼貌的吻别
    2020-11-21 05:52

    1. Select the package name in the Java folder.
    2. Shift+F6
    3. Change the package name and click OK.

    Your package name will be changed from all the Java files and the manifest file. You have to manually change the package name from build.gradle.

提交回复
热议问题