Does anyone one know how to move one project built using Android Studio to another computer?
-
2What exactly is your problem? After all, a project is just a collection of files, so you should be able to move it as you move any other set of files.– EgorApr 10, 2015 at 18:08
-
2I think the asker is concerned about Publisher keys and stuff. I have that doubt too. I have published my project and have saved the keys on some folder. Now how to migrate so that nothing breaks.– azmathMay 31, 2016 at 16:10
6 Answers
The folder is under C:\Users\YOU\AndroidStudioProjects\PROJECTNAME
You should be able to work on it on any computer with android studio installed.
No such thing as a stupid question. Thanks for asking!
-
Sorry, but this is not working if you have stored your project on another location e.g. like me on D:\Project\... Oct 25, 2021 at 15:29
Copy the project directory from source to destination machine. Then follow the steps.
- Open Android Studio
- Go to File - > Open
- Browse to the project location.
- Select build.gradle and open.
Android Studio will automatically make the necessary changes for the target machine and set up the project.
NOTE : It usually confuses the first timers, as after copying project files into target machine, when you try to open the project, it considers it as a normal directory, not as android project.
Very simple.. Go to your project in AndroidStudioProjects, copy and paste it on pendrive/sdcard. Then plug it to another computer and open..
-
2so i have google APIs in my project and a json file and a keystore. i moved all this over and now it has a new SHA1 fingerprint and none of the Google APIs work. @Raptor43 Jul 1, 2017 at 0:20
I moved one project from PC to another with the same version of Android Studio (now for me is 2.3.3) and I have a failed to launch in emulator because the path of build test was not found. However the solution is simply:
Build->Clean and Rebuild.
I finally find the solution. this is simple:
1- Go to your project folder, then open gradle>wrapper>gradle-wrapper.properties
with note pad.
2- In last line, change your distribution URL to :distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
(or each version of gradle you have.)
3- then go to Android studio and in project build.gradle
and change your class path to latest version of gradle you have. classpath 'com.android.tools.build:gradle:2.1.2'
4- Go to app gradle.build
and set buildToolsVersion "23.0.3"
-
Or, even better, use GitHub and clean and rebuild the whole project?– Thecave3Aug 31, 2017 at 15:13
When you are in Android Studio, you can sign in with your Google Account from top-right corner. After you log in to Android Studio, there are two options available:
- Open Google Play Console
- Open Google Developers Console
With Android Studio v4.1.1 there is not a feature available at this time such as synchronizing your all Android Studio apps depending on your e-mail address. This feature would be also very nice if you have different computers but only one project to work on, available. I believe Android Studio developer team will allow us to get our Google Account profile picture directly into Android Studio when we login. With the same feature, we can sync all our Android apps, I hope from the future.
Answer: No, you can't sync your apps with different Android Studio programs at this time (Dec, 2020)