Skip to main content

Android Studio change package name





Sometime it is needed to change the package of the project.
Below is the easy way which worked for me in android studio.



1. Open your project in android studio
2.Click the setting icon at top right corner of project menu.
3. Uncheck "Compact Empty Middle Package".

4.Right Click the folder that need to be changed.
5. Go to "Refactor->Rename"
6.Click rename package.
7. Enter package name and click Refactor.
8.Now at bottom Find Refracting preview click do refactor.
9. Now the folder name must have changed.
10.Now open "build.gradle" file for your module and change the "applicationID".
11. You are done now , Click sync to build the project.




Comments

Popular posts from this blog

Xamarin : Simple Calculator Tutorial Visual Studio C#

Simple Calculator in Android (Xamarin) using VisualStudio C#In Brief: This article will help you on building a simple calculator in android Xamarin with simple steps using C# Language in Visual Studio. Detail:
Building this simple calculator will let you learn how to work with the Android Buttons, Text View and simple functions. The UI is not so beautiful but is a great way to learn the basic functionalities.

Create Custom View in android MATRIX EFFECT CANVAS tutorial

Create Custom View in android MATRIX EFFECT CANVAS tutorial
Hi all as I stared my development with android I always wanted to create a Custom view or rather I want a canvas where I can draw freely. To learn about canvas I decided to create matrix rain effect which I can add to my android layout. Here is the complete tutorial which I have post. Hopping it will be use full to someone.

You can find the link to android project at the bottom of the post

Android Live Wallpaper Tutorial


Hi, at last I was able to create my own live wallpaper " MATRIX RAIN ". 

Download : click here

The matrix rain effect which I am using is the same which I created in canvas.
ref :- http://www.androidlearner.com/2016/09/create-custom-view-in-android-matrix.html
I this post I will describe how I put together the live wallpaper.