简体   繁体   English

我可以使用Android Studio的Eclipse + ADT教程吗

[英]Can I use Eclipse + ADT tutorials for Android Studio

I've started to get into Android Development and i downloaded the ADT bundle of the android developers page, but it doesn't seem to be working for me. 我已经开始涉足Android开发,并下载了android开发人员页面的ADT捆绑包,但它似乎对我不起作用。 So now I've decided to use Android Studio. 因此,现在我决定使用Android Studio。 Since its quite new there aren't many tutorials for it, whereas Eclipse + ADT has heaps of tutorials. 由于它很新,因此没有太多的教程,而Eclipse + ADT有大量的教程。 I was wondering if I could use the thenewboston's tutorials (which were designed for eclipse) on Android Studio and still get the same results? 我想知道我是否可以在Android Studio上使用thenewboston的教程(专为eclipse设计),并且仍然可以获得相同的结果? Both the layouts look similar and they both use java so will there be any problems? 两种布局看起来都相似,并且都使用java,所以会出现问题吗?

You can use the same code. 您可以使用相同的代码。 For example how declare and use a textview in eclipse and androidstudio is the same, or how use button events is the same. 例如,eclipse和androidstudio中声明和使用textview的方式相同,或者按钮事件的使用方式相同。

The difference is when you create a project, dependencies, libraries, and stuff configuration, but the code instructions are the same because use java. 不同之处在于创建项目,依赖项,库和填充配置的时间,但是代码说明相同,因为使用的是Java。

If you are looking for a tutorial which is IDE oriented, Eclipse tutorials won't help much with Android Studio. 如果您正在寻找面向IDE的教程,那么Eclipse教程对Android Studio并没有太大帮助。

Android Studio is based on IntelliJ IDEA platform and IDEA tutorials may help you with configuring projects and other editor related configurations. Android Studio基于IntelliJ IDEA平台,IDEA教程可以帮助您配置项目和其他与编辑器相关的配置。 And most importantly Android Studio won't provide support for the traditional Ant based projects since it uses Gradle build system. 最重要的是,Android Studio由于使用Gradle构建系统,因此不会为基于传统Ant的项目提供支持。 Of-course you can open and build Ant based projects which are created using IntelliJ IDEA but you cannot create new Ant projects in Android Studio. 当然,您可以打开和构建使用IntelliJ IDEA创建的基于Ant的项目,但不能在Android Studio中创建新的Ant项目。

If you are just looking for an alternative to Eclipse+ADT, my suggestion is to start with IntelliJ IDEA community edition first and then slowly migrate to Android Studio + Gradle. 如果您只是在寻找Eclipse + ADT的替代产品,我的建议是先从IntelliJ IDEA社区版开始,然后慢慢迁移到Android Studio + Gradle。 JetBrains website provides plenty of IDEA tutorials to start with. JetBrains网站提供了大量的IDEA教程。

hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM