Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Android Studio

Introduction to Android Studio

A brief introduction to Android Studio. This was presented at Phx Mobi Festival (www.phxmobifestival.com)

Daf1617c9a4ff129239e922e8c56af1b?s=128

Donn Felker

August 24, 2013
Tweet

Transcript

  1. Text donnfelker.com // #phxmobi INTRODUCTION TO ANDROID STUDIO

  2. Text donnfelker.com // #phxmobi DONN FELKER donn@donnfelker.com @donnfelker gplus.to/donnfelker

  3. Text donnfelker.com // #phxmobi Groupon MyFitnessPal GetHuman Fitness+3 Travel WODs

    QONQR
  4. Text donnfelker.com // #phxmobi A Podcast for Android Developers

  5. Text donnfelker.com // #phxmobi

  6. Text donnfelker.com // #phxmobi WHY A NEW IDE?

  7. Text donnfelker.com // #phxmobi Because using Eclipse is like living

    in a bad movie.
  8. Text donnfelker.com // #phxmobi is actually

  9. Text donnfelker.com // #phxmobi What’s Different Between IntelliJ and Android

    Studio?
  10. Text donnfelker.com // #phxmobi NOTHING. in regards to Android If

    you use IntelliJ ... If not ... Keep using it. IntelliJ 13 will have all the same stuff. Try EAP 13 to get the new stuff.* Give Android Studio a try. * It might break. EAP = Early Access Preview
  11. Text donnfelker.com // #phxmobi ANDROID STUDIO FEATURES Maven Support Gradle

    Support Android Refactorings Lint Tool Code Analysis Template Based Wizards Rich Layout Editor & Layout Preview Various Themes (darcula! woo!) ... and all the additional goodness of IntelliJ
  12. Text donnfelker.com // #phxmobi SDK LOCATION. HAS CHANGED. IMPORTANT!

  13. Text donnfelker.com // #phxmobi GRADLE?

  14. Text donnfelker.com // #phxmobi THE NEW BUILD SYSTEM FOR ANDROID

  15. Text donnfelker.com // #phxmobi FEATURES GRADLE DEPENDENCY MANAGEMENT BUILD VARIANTS

    BUILD CUSTOMIZATION CLEAN DSL MULTI PROJECT SET UP VERY CONFIGURABLE
  16. Text donnfelker.com // #phxmobi DEPENDENCY MANAGEMENT

  17. Text donnfelker.com // #phxmobi DEPENDENCY MANAGEMENT SOURCE & LIBS ARE

    STORED TOGETHER INSIDE OF APP SOURCE CURRENT STATE OF AFFAIRS IN ANT jars, libs, etc compiled with turns into ANDROID APK ALL SOURCE & JARS ARE COMBINED INTO APK <SOURCE_CODE/>
  18. Text donnfelker.com // #phxmobi HUH?

  19. Text donnfelker.com // #phxmobi turns into ANDROID APK ALL SOURCE

    & JARS ARE COMBINED INTO APK <SOURCE_CODE/> central DEPENDENCY MANAGEMENT MAVEN BUILDS reads pom.xml for dependencies and gets them from ... compiled with (or other specified repos) repos
  20. Text donnfelker.com // #phxmobi turns into ANDROID APK FILES ALL

    SOURCE & JARS ARE COMBINED INTO BUILD VARIANTS <SOURCE_CODE/> DEPENDENCY MANAGEMENT GRADLE BUILDS reads build.gradle for dependencies and gets them from ... compiled with central repos local files project itself DEBUG QA RELEASE
  21. Text donnfelker.com // #phxmobi http://goo.gl/t6XvA GRADLE INTRO VIDEO: SOURCE ANDROID

    GRADLE INTEGRATION BUILD VARIANTS DEBUG - DEV DEBUG - QA RELEASE - GOOGLE PLAY RELEASE - AMAZON file replacements, config changes, all kinds of goodness ...
  22. Text donnfelker.com // #phxmobi GRADLE. USE IT. ITS AWESOME.

  23. Text donnfelker.com // #phxmobi MIGRATING FROM ECLIPSE HOWTO: http://goo.gl/6HuCo REQUIRES:

    ADT V22 or HIGHER FILE. EXPORT. GRADLE. DONE.
  24. Text donnfelker.com // #phxmobi DEMO DISCLAIMER. THIS IS PREVIEW SOFTWARE.

    IT MIGHT CRASH.
  25. Text donnfelker.com // #phxmobi DEMO NEW PROJECT IMPORT EXISTING EXAMPLE

    APP
  26. Text donnfelker.com // #phxmobi ANDROID STUDIO COMMON QUESTIONS Should I

    use Android Studio as my main IDE RIGHT NOW? Is Android Studio ready for prime time? Should I delete Eclipse or IntelliJ from my machine and only use Android Studio? Is IntelliJ 13 EAP OK to use for Android Dev?
  27. Text donnfelker.com // #phxmobi NO.

  28. Text donnfelker.com // #phxmobi IMO, WAIT UNTIL BETA.

  29. Text donnfelker.com // #phxmobi DONN FELKER donn@donnfelker.com @donnfelker gplus.to/donnfelker THANK

    YOU. A Podcast for Android Developers