S
S
Seth262015-02-02 18:49:11
Android
Seth26, 2015-02-02 18:49:11

Is it possible to change the package name?

For example, I create a project in Android Studio, package com.example.robert.log is written;
And in the downloaded example package com.example.androidhive;
Is it possible to change the names? And then I got tired of sitting for 20-30 minutes each time and editing the names

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2015-02-02
@Seth26

Refactoring - heard about it?
I forgot the hotkeys, but if you select the package name and press the right mouse button, a menu will appear, find Refactor-> Rename there and rename, also check the necessary checkboxes so that ide renames everywhere.
If the package where the files are located does not change, then you can create a new package and copy it there at once.
I can’t describe the exact steps, but yes, the answer to the question is POSSIBLE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question