How to change Android App Name and ID of an existing application?

后端 未结 11 1634
刺人心
刺人心 2020-12-29 23:01

I have two Android projects in Eclipse. I copied the one project from the other, then changed the app name (in strings.xml) and the project name

11条回答
  •  余生分开走
    2020-12-29 23:45

    My setup

    • Android Studio 3.5.3
    • Kotlin 1.3.x
    • macOS 10.14.6

    Solution to Renaming appid

    • In Project Explorer, find app/java/com.company.app.
    • Right-click > Refactor > Rename, then select Rename Package.
    • Look down in the Refactoring Preview and make sure all package references are selected.
    • Click Do Refactor.

    No need to hack around by hand.

提交回复
热议问题