DEV Community

leminhduc1202
leminhduc1202

Posted on

Answer: Rename package in Android Studio

In Android Studio, you can do this:

For example, if you want to change com.example.app to my.awesome.game, then:

  1. In your Project pane, click on the little gear icon ( Gears icon )

  2. Uncheck the Compact Empty Middle Packages option

    Compact Empty Middle Packages

  3. Your package directory will now be broken up into individual directories

Top comments (0)