
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Change Package Name in Android
Here are the simple steps to change the package name in android .
Click on your pack name(in source tree). -> Right Click --> Refractor -> Rename as shown below -
Click on rename, it will show pop up as shown below -
Click on Rename package, it will show new pop up as shown below -
Now change the name as per requirement and click on refractor as shown below -
Now it will check all files and asks for refractor as shown below -
In the below of Android studio, there is "do Refractor button". click on it. Now open your build.gradle as shown below -
Still, it will show old package name, rename to new package name as shown below -
now clean your package and rebuild that's it.
Advertisements