How can I change package in Android?

Hương Trang

New member
How can I change package in Android?
Answer
  1. Step 1 : Select the Project option from left menu of Android Studio.
  2. Step 2 : Right click on java and add a new package and set the desired package name.
  3. Step 3 : Enter you new packagename.
  4. Step 4 :Copy all the files from your old package and paste in the new package.
  5. Step 5 :Rename the package name in manifest file.
 

Tìm kiếm

Back
Top