Fully change package name including company domain

后端 未结 16 2494
礼貌的吻别
礼貌的吻别 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 02:01

    You can do this:

    Change the package name manually in the manifest file. Click on your R.java class and the press F6 (Refactor->Move...). It will allow you to move the class to other package, and all references to that class will be updated.

    reference: How do I rename the android package name?

提交回复
热议问题