


#Rename android app android studio apk
Now you can reload the project in the studio, and check the name of the APK that is generated. Hence you have to make the changes: include ':my_project_app' This is corresponding to the old name of the app folder. The content of this file are the names of module folders that you include in the project, currently there is only one module, that is the main one : include ':app' Now go to the project's root folder, and find the adle file.Suppose the name that you have given to this folder is my_project_app, open the folder and rename the app.iml, to my_project_app.iml after the name of the project.The unsigned APK is located in output folder of build directory, all build, debug and release folders are found in the primary app folder, or the folder you have renamed this folder to]. Signed APK is found in it's respective folder of debug or release. Mode you build the signed APK for, that is either debug or [ INFO: The APK file, that is generated for this project, willĪcquire the same first name followed by the suffix that represents the Rename the app folder to the name you like to have.Root folder of the project, do the same in the explorer: If you want to change the app folder's name, that is inside the If you changed this folder's name to say my_project, then you have to change the name of the iml file inside it to my_project.iml.Īctually the refactor option from the Studio can do the same. That is if the project root folder's name was say demo_project, there will be demo_project.iml file inside it. Rename the iml file in this root folder to the name of the folder.Rename the folder that is the root of the project.go to the file explorer, copy this path on the address bar, and go to the folder.Close the project from the main welcome screen. Just close the project in the studio, after copying path to the project.If you want to just change the name of the project root folder Choose whichever applies to your problem.

Once these changes are made, click the Sync Project with Gradle Files button in the toolbar (if you're running a very old version of Android Studio, it may not have that button, so you can close the project and reopen it in that case) and it should pick up the changes. Just change the name to your new name there as well.

Once they're renamed, edit your adle file it will look something like: include ':applicationModuleFolder' I think the way your project is set up now, they both have the same name you can rename both to the same new name if you like, or you can give them different names it doesn't matter. It uses projectFolder's name as the project name and applicationModuleFolder as the name of the module that your Android App lives in (the upper and lower outlined boxes in your screenshot, respectively). Your project on disk should look something like this (with many more files than what's shown here): projectFolder I'd suggest changing the directory names directly in the filesystem, and updating your adle file to reflect the changes.
#Rename android app android studio update
You're running into bug, which is that if you try to use the UI to rename modules or your project, it doesn't update the build files. For one, I'd strongly suggest updating to the latest Android Studio (0.3.7 as of now) there are tons of bug fixes.
