Use Markdown for the first time to write a blog, not familiar with markdown usage can refer to video tutorial (http://edu.csdn.net/course/detail/508/)
below to introduce the title of the topic, before just contact Android Studio is also confused, here write down and share: "
(i). andriod Studio Download URL: http://www.androiddevtools.cn/(many of the latest development tools) can find the latest stable version of the ZIP compression package, extracted can be used directly, associated with the previous local SDK. (b). Studio can open the Eclipse project but the Eclipse project cannot be opened directly with studio (you can turn the studio project into an Eclipse project and then import it into Eclipse to run successfully details) See: http://www.360doc.com /content/15/0323/13/11800748_457387176.shtml) 2.1 Studio can open the Eclipse project (which is no longer covered in the Eclipse development Android Environment), briefly describe the following steps:
2.1.1 点击左上角File-->open-->找到要打开的文件项目--->之后默认操作点击下一步下一步一直到完成。2.1.2 打开项目之后需要配置一下本地的SDK还有项目的存在路径如下:
2.1.3 如果有第三方依赖库的话添加项目关联的依赖库步骤如下:
Click the menu bar Item –>modules–>+ –>import module–> Select the dependent library –>next–>next–>override–>finish as follows:
2.1.4 for projects and dependent libraries to add the corresponding projects of the LIB project, the dependent libraries correspond to the following libraries:
2.1.5 adding dependencies for the project (dependent on Lib and dependycy)
First, add Lib as follows to rely on Lib to come in such as:
Then add the dependent SDK for the project such as:
After this step, add the project and rely on the library click OK to complete such as:
2.1.6 The final step is to run the project:
Looking at the diagram needs to add an Android application option at this point, you will find a fork as shown:
The fork number is due to the fact that studio opened the Eclipse project at this point, you should re-operate the 2.1.3 step by selecting the Click minus button to remove the item and then click the plus sign to add it back in again to operate the 2.1.6 step without the problem. You can then use studio to run the Eclipse project.
Note: All of the eclipse projects are opened in studio because Eclipse often encounters a variety of exotic problems that cause the imported Eclipse project to fail to run for no apparent error, while opening the Eclipse project in Studio is good (this is more painful) 2.2 Studio opens online download of studio project Error resolution
错误1 运行项目时候可能会报错找不到gradle-2.10-all.zip之类的解决方法如下: 1.1 直接下载gradle-2.10-all.zip压缩包 1.2 将下载后的压缩包放在 C:\Users\Administrator\.gradle\wrapper\dists\gradle-2.10-all\a4w5fzrkeut1ox71xslb49gst 目录下 可能路径会不一样,找到你电脑.gradle文件夹下 其中的 a4w5fzrkeut1ox71xslb49gst 根据版本不同而不同,在第一次建as项目时会自动生成,知道了目录名后将下载的Gradle放到这里面就行了
Restart Android Studio to install Gradle automatically
Then open the previously opened studio project again and it will work.
Use Android Studio to open the Eclipse Project and open the studio project for download online error Resolution