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.ivyreso
lve.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!

Android Studio vs. ADT

  • 1.
    Dominik Helleberg |inovex GmbH vs
  • 2.
    Dominik Helleberg Mobile Development Android IngressLevel 7 http://dominik-helleberg.de/+
  • 3.
  • 4.
    Portions of thispage 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
  • 5.
    Portions of thispage 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
  • 6.
    Portions of thispage 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
  • 7.
  • 9.
    „Android Studio isa 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
  • 11.
    Android PlugIn Android Designer AndroidPlugIn Android DDMS Android Builder .properties build.xml
  • 12.
    Android PlugIn Android Designer AndroidPlugIn Android Gradle Adapter .properties build.gradle
  • 14.
    : F E AT U R E S
  • 22.
    src/    paid/      java/      res/      free/      java/      res/      main/      java/      res/      instrumentTest/                java/  
  • 23.
  • 24.
  • 25.
    0 5 10 15 20 25 30 StartUp Incr. Build (SimpleApp) Incr. Build (Complex App) Eclipse Android Studio
  • 27.
  • 28.
    : S t ab i l i t ä t
  • 30.
    13:26:17.991  [DEBUG]     [org.gradle.api.internal.artifacts.ivyservice.ivyreso lve.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.+'    
  • 31.
    „A restart fixedthe 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.
  • 33.
  • 34.
  • 40.
    Eclipse Android Studio Workspace/ Projects Project Project Module Run Configuration Run Configuration Library Module Library
  • 41.
    Key Function CMD +O Open Class CMD + SHIFT + O Open File CTRL + R Make + Run CMD + SHIFT + A Module Library
  • 43.
    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/    
  • 44.
      repositories  {          mavenCentral()          maven  {  url  'libs/'  }   }       dependencies  {      compile  'com.android.support:support-­‐v4:18.0.0'      compile  'de.inovex.hellolib:HelloLib:0.0.1-­‐SNAPSHOT' }  
  • 45.
    Z u ku n f t
  • 46.
  • 47.
    •  Android ant-supportwird eingestellt •  ADT (eclipse) wird weiter unterstützt •  Gradle ist die Zukunft (aber noch nicht fertig)
  • 49.
  • 50.