Is it possible to change the company domain name in android studio after creating the project? -


when created android project in android studio, found field company domain name .i have created name first. want change company domain name. possible change? please me solve issue !

you can able change domain using following steps. example trying change domain name com.example com.example1. package name should com.example.application_name.

  1. right click on package name in project explorer , select refactor -> move.
  2. a new popup ask kind of refactor need do. in select first 1 move package 'com.example.application_name' package. , click ok.
  3. a new warning window show package in multiple places. click yes on warning.
  4. a new dialog opened. in that, change to package value new domain name com.example1 , make sure check box enabled search in comments , string , search text occurrences , click refactor. new dialog open , ask confirmation create new package. click yes.
  5. in bottom window ll search named com.example , ask refactor. click do refactor in that. that's it. renamed domain name com.example com.example1. previous package not deleted. if don't want means can delete it.

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -