Fully change package name including company domain

后端 未结 16 2461
礼貌的吻别
礼貌的吻别 2020-12-13 01:11

Let\'s suppose this is the package name: package com.company.name. How do I change company?

P.S. I saw how to change name but

16条回答
  •  庸人自扰
    2020-12-13 01:55

    The simplest way of doing this would be to rename the root app folder from com.example.MyApp to com.newcompanyname.MyNewAppName and then replace all occurrences of the old path to the new path in whatever IDE you're using.

提交回复
热议问题