Rename package in Android Studio

后端 未结 30 2713
深忆病人
深忆病人 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 06:10

    Right click on package -> refactor and change the name.

    You can also change it in the manifest. Sometimes if you change the package name, but after creating the .apk file it shows a different package name. At that time check "applicationId" in the build.gradle file.

提交回复
热议问题