Android Studio vs. ADT

Post on 06-May-2015

6,244 views 5 download

description

Android Studio vs. Eclipse + ADT Talk @ Mobile Tech Con #mtc13 Berlin

transcript

Dominik Helleberg | inovex GmbH

vs

Dominik Helleberg

Mobile Development

Android

Ingress Level 7

http://dominik-helleberg.de/+

:

Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Source: https://developers.google.com/events/io/experiment

Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 2.5 Attribution License. Source: http://developer.android.com/index.html

Portions of this page are reproduced from work created and shared by Ralph Daily and used according to terms described in the Creative Commons 2.0 Attribution License. Source: http://www.flickr.com/photos/92269745@N00/3801617675

Source: https://plus.google.com/+PaulWilcox/posts/23QtTfiVrtk

„Android Studio is a new Android development environment based on IntelliJ IDEA. Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.“

Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 2.5 Attribution License. Source: http://developer.android.com/sdk/installing/studio.html

Android PlugIn

Android Designer

Android PlugIn

Android DDMS

Android Builder .properties

build.xml

Android PlugIn

Android Designer

Android PlugIn

Android Gradle Adapter .properties

build.gradle

:

F E A T U R E S

src/    paid/      java/      res/  

   free/      java/      res/  

   main/      java/      res/  

   instrumentTest/                java/      

:

:

PERFORMANCE

0

5

10

15

20

25

30

StartUp Incr. Build (Simple App)

Incr. Build (Complex App)

Eclipse Android Studio

:

PERFORMANCE

:

S t a b i l i t ä t

13:26:17.991  [DEBUG]    [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleVersionRepository]  Found  resolved  revision  in  dynamic  revision  cache  of  'MavenRepo':  Using  'com.android.tools.build:gradle:0.5.6'  for  'com.android.tools.build:gradle:0.5.+'    

„A restart fixed the problem“

We've just released Android Studio 0.2.5. This is a small release which fixes a couple of issues that came up in 0.2.4: toolbars disappearing unpredictably, and several bugs around SDK management from gradle.

:

&

Tipps + Tricks

Eclipse Android Studio

Workspace / Projects Project

Project Module

Run Configuration Run Configuration

Library Module Library

Key Function

CMD + O Open Class

CMD + SHIFT + O Open File

CTRL + R Make + Run

CMD + SHIFT + A Module Library

dependencies  {          compile  'com.android.support:support-­‐v4:18.0.0‘          compile  'libs/HelloLib-­‐debug.aar'  }    

mvn  install:install-­‐file  \    -­‐DgroupId=de.inovex.hellolib  \    -­‐DartifactId=HelloLib  \    -­‐Dversion=0.0.1-­‐SNAPSHOT  \    -­‐DgeneratePom=true  \    -­‐Dpackaging=aar  \    -­‐Dfile=build/libs/HelloLib-­‐debug.aar  \    -­‐DlocalRepositoryPath=[PATH]/libs/  

 

 repositories  {          mavenCentral()          maven  {  url  'libs/'  }  }      dependencies  {      compile  'com.android.support:support-­‐v4:18.0.0'      compile  'de.inovex.hellolib:HelloLib:0.0.1-­‐SNAPSHOT'  }  

Z u k u n f t

?

•  Android ant-support wird eingestellt

•  ADT (eclipse) wird weiter unterstützt

•  Gradle ist die Zukunft (aber noch nicht fertig)

oder

DANKE!