如何将项目迁移到另一台机器 [英] How to migrate a project to another machine
问题描述
我要迁移Android Studio中开发从一台机器到另一台机器,所以我可以继续工作的Android项目。
我试着项目目录复制到目标机器;但是,Android Studio中打开项目时(<大骨节病>文件骨节病>→<大骨节病>打开骨节病>)在目标机器上,它不会加载它作为一个Android项目,而是认为它是只是一个目录。
我如何迁移项目到另一台机器?
通常会出现此问题,仅当您尝试加载了第一次项目。相反,一个机器人项目,它认为是只是一个目录。
不过,我发现周围的一种方式,它可以解决这个问题。
-
复制项目目录目标机器。
-
从Android的工作室,进入文件 - >打开;浏览项目目录。
-
展开项目目录,打开的build.gradle 。它将完成所需的自动设置并加载的项目。
I want to migrate an Android project developed in Android Studio from one machine to another machine so I can continue working.
I tried to copy the project directory to the target machine; but, when opening the project in Android Studio (File→Open) on the target machine, it doesn't load it as an Android project, instead it considers it to be just a directory.
How can I migrate a project to another machine?
Usually this problem occurs, only when you try to load the project for first time. Instead of an android project, it considers to be just a directory.
However, I found a way around, which can fix this issue.
Copy the project directory to target Machine.
From Android Studio, go to File->Open; Browse the project directory.
Expand the project directory and open build.gradle. It will complete the required set up automatically and load the project.
- Next time, when you will open the project, it will consider it an Android Project.
这篇关于如何将项目迁移到另一台机器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!