Super Sasquatch
Super Sasquatch

Reputation: 393

Android Studio moving project to another computer?

Does anyone one know how to move one project built using Android Studio to another computer?

Upvotes: 28

Views: 68818

Answers (6)

Bay
Bay

Reputation: 497

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:

  1. Open Google Play Console
  2. Open Google Developers Console

enter image description here

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)

Upvotes: 0

Daniele
Daniele

Reputation: 186

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.

Upvotes: 4

Sadeq Shajary
Sadeq Shajary

Reputation: 437

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"

Upvotes: 1

Biswajit
Biswajit

Reputation: 445

Copy the project directory from source to destination machine. Then follow the steps.

  1. Open Android Studio
  2. Go to File - > Open
  3. Browse to the project location.
  4. 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.

Upvotes: 8

Noah Gary
Noah Gary

Reputation: 960

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!

Upvotes: 11

Raptor42
Raptor42

Reputation: 401

Very simple.. Go to your project in AndroidStudioProjects, copy and paste it on pendrive/sdcard. Then plug it to another computer and open..

Upvotes: 6

Related Questions