Introduction to Android studio and new build system (Gradle). This was presented at GDG DevFest Kathmandu (Nepal).
For detailed article on it: http://www.technotalkative.com/introduction-android-studio/
16. What is the difference between
IntelliJ Idea and Android Studio?
@pareshmayani
17. Nothing
If you use IntelliJ…
– Keep using it.
– IntelliJ 13 will have the same stuff
– EAP of IntellJ Idea 13 includes all the new stuffs
If Not…
– Give Android Studio a try
@pareshmayani
18. IntelliJ Idea and Android Studio? FAQ
http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-
android-studio-faq/
@pareshmayani
31. • Gradle is an advanced build management
system based on Groovy
@pareshmayani
32. • Gradle is an advanced build management
system based on Groovy
• Its an Open source build system
@pareshmayani
33. • Gradle is an advanced build management
system based on Groovy
• Its an Open source build system
• Combines the power of Ant and Maven
@pareshmayani
35. • Dependency Management (Flexible
approach to dependency management that can
reuse existing maven repositories or reference
local JARs)
@pareshmayani
36. • A single build system (Gradle is the
authoritative build across the IDE and the
command-line.)
@pareshmayani
37. • Product Flavors (Free & Paid version)
• Build Variants (Play store OR Amazon OR Any
other store)
• Build Type (Debug, QA, Release)
@pareshmayani
38. • Binary Bundles for Libaries (.aar) (Gradle
supports the new .aar binary bundle format for the
library projects)
@pareshmayani
50. Hard coded Strings
1. Settings > Editor > Code Folding > Android
String References
OR
2. Select String and right click on it and then go
to Folding > Collapse
OR
CTRL + Numpad ‘-’
@pareshmayani
51. Alert - Potential Null Pointer Exception
Alert: There is potential Null pointer exception
@pareshmayani
52. Oops – Rendering Problems
Shows you Rendering Problem while designing
layout
@pareshmayani
60. All the Keyboard Shortcuts
• Help => Default Keymap Reference
(To view all the keyboard shotcuts)
@pareshmayani
61. No
It’s EARLY ACCESS PREVIEW
Should wait until Beta
Should I use Android Studio?
@pareshmayani
62. Links
• Android Studio: An IDE built for Android => http://goo.gl/iHRvYF
• Google I/O 2013 - What's New in Android Developer Tools => http://goo.gl/VRCEIb
• DevBytes: Android Studio => http://goo.gl/28UB94
• https://speakerdeck.com/donnfelker/introduction-to-android-studio
• Google I/O 2013 - The New Android SDK Build System => http://goo.gl/N9e2Fq
@pareshmayani