Android studio remove middle part from package name

前端 未结 6 471
陌清茗
陌清茗 2021-02-05 12:08

I want to remove the middle part from the package name. Ex: com.example.app to com.app

I have tried few things but not able to remove t

6条回答
  •  太阳男子
    2021-02-05 13:03

    I think that the only you can achieve that is this:

    1. Press Ctrl+Shift+R, set Text to find to com.example.app, Replace with to com.app and hit Find, All Files.

    2. After that open the directory com in file manager, move app up in hierarchy, so it becomes com/app and remove example directory.

提交回复
热议问题