Pro Yearly is on sale from $80 to $50! »

Google I/O Extended 2019 Daejeon ~ What's New in Android Studio

Google I/O Extended 2019 Daejeon ~ What's New in Android Studio

Google I/O Extended 2019 Daejeon에서 발표한 자료입니다.

354271902cd8ba2762d05b251dfa0f84?s=128

pluulove (노현석)

July 22, 2019
Tweet

Transcript

  1. What’s New in Android Studio Noh HyeonSeok Android Google Developer

    Experts Naver
  2. উ֞ೞࣁਃ. ֢അࢳ(pluu)ੑפ׮. NAVERীࢲ Android Appѐߊਸ ೤פ׮. Google Developers Expertੑפ׮. GDG

    Korea Android Organizerੑפ׮.
  3. Android Studio Roadmap v3.4 April’19 Resource Manager Project Struct. Dialog

    R8 by Default Import Intentions v3.3 Jan’19 New Project Wizard In-product Feedback Profiler Updates Single Variant Sync v3.2 Navigation Editor App Bundle Emulator Snapshots Energy Profiler
  4. 3.6 New Layout Inspector ViewBinding Fast Property Reading 3.5 Memory

    Settings User Interface Freezes Build/IDE Speed Apply Changes Layout Editor 3.4 Resource Manager Project Struct. Dialog R8 by Default Import Intentions android studio
  5. extended Android Studio 3.4 Stable (Now 3.4.2) • Resource Manager

    • Project Struct. Dialog • R8 by Default • Import Intentions extended
  6. Resource Manager

  7. View > Tool Windows > Resource Manager

  8. None
  9. extended Resource Manager • Android Studio੄ Resource ҙܻ ѐࢶ •

    ӝઓ ҳઑח Framework৬ ࠺त • ੹୓ ܻࣗझܳ ೠ׀ী ౵ঈ оמ • Drawable, Color, Layoutਸ दпച • Module ੹ജ ૑ਗ
  10. None
  11. None
  12. None
  13. None
  14. None
  15. Missing drawable prefix Need to remove @2x suffix Need to

    create folder manually
  16. Bulk Impo*

  17. icons/xhdpi/arrow.png icons/arrow@2x.png icons-xhdpi/arrow.png res/drawable-xhdpi/arrow.png Manage your app's UI resources with

    Resource Manager ~ Automatically parse drawable densities
  18. icons/xhdpi/arrow.png icons/arrow@2x.png icons-xhdpi/arrow.png res/drawable-xhdpi/arrow.png Manage your app's UI resources with

    Resource Manager ~ Automatically parse drawable densities
  19. Density Layout Direction Locale Night Mode Platform Version Screen Size

    etc… Qualifier Type extended
  20. extended Preview all layouts • ݽٚ ۨ੉ইਓਸ ޷ܻ ഛੋ оמ

    • ਗೞח ۨ੉ইਓਸ Ѩ࢝
  21. Bulk Import and convert them to VectorDrawable Dragging a layout

    file will create an <include> tag
  22. Color Picker • Resource XML੄ Color Double Click • RGB,

    HSB ݽ٘ ૑ਗ
  23. Project Structure Dialog File > Project Structure

  24. Unresolved reference

  25. • ۄ੉࠳۞ܻ ୶о ઁউ • Jetpack, Firebase ૑ਗ Import Intentions

  26. Android Studio 3.5 Beta (Now 3.5 RC1) • Memory Settings

    • User Interface Freezes • Build/IDE Speed • Apply Changes • Layout Editor • Over 400 high-priority bug fixes.
  27. Android Dev Summit Mountain View 2018 Project Marble extended •

    ؀ӏݽ ೐۽ં౟੄ ݫݽܻ ҙܻ • UI Hang • Lint ӝמ ъച • CPU ࢎਊܫ ୭੸ച • Layout Editor ӝמ ъച • Emulator ӝמ Ӧച • ࠽٘ ߸҃
  28. System Health Feature
 Polish Bug
 Backlog extended

  29. System Health

  30. extended

  31. DataBinding UI Freezes Android Studio 3.4 Android Studio 3.5

  32. Speed & CPU Usage

  33. • Kotlin Incremental Annotation Processing
 (Support Gradle 4.10) • Light

    R class generation • Benchmarking Build Speed Improving build speed in Android Studio
  34. بੑ೧ ࠅ ݅ೠ Ѫ extended • Android Gradle Plugin ୭न

    ߡ੹ • Gradle Profile • ࠽٘ ҳࢿ ߂ Task ୭੸ച • Annotation ૐ࠙ ࠽٘ ୊ܻ Improving build speed in Android Studio
  35. I/O File Access for Windows Google Internal Data, 2.2GHz quad-core

    Intel Core i7, April 2019 4x
  36. I/O File Access for Windows

  37. Emulator

  38. extended Google Play Service ୽੹ ઺ > ߓఠܻ ߑ੹ :

    ߔӒۄ਍٘ CPU ࢎਊ 3X ੉࢚ хࣗ Google Assistant ӝࠄ ݃੉௼ OFF۽ ߸҃ Emulator CPU Usage
  39. extended Google Play Service ୽੹ ઺ > ߓఠܻ ߑ੹ :

    ߔӒۄ਍٘ CPU ࢎਊ 3X ੉࢚ хࣗ Google Assistant ӝࠄ ݃੉௼ OFF۽ ߸҃ Emulator CPU Usage
  40. Foldable Support Building apps for foldables • Android Qࠗఠ Foldable

    Device ૑ਗ • ௾ ചݶਸ ా೧ ஶబஎ ށੑ • Multi-Windowܳ ా೧ ׮઺ ੘স оמ • Phone, Chrome OS, Additional screens
  41. None
  42. App Deployment Flow Android Studio 3.4

  43. App Deployment Flow Android Studio 3.5

  44. extended Memory Leak दр੉ ૑թী ٮۄ ו۰૑ח ਗੋ ઺ ೞա

    Fixed memory leak ৔ೱ੉ ֫਷ 33ѐ੄ ߡӒ ࣻ੿ Android Studio Usage
  45. Increase Heap 32GB Used 1.2GB

  46. Memory Settings

  47. Memory Settings

  48. Memory Settings Preferences | Appearance & Behavior | System Settings

    | Memory Settings
  49. Apply Changes

  50. Instant Run Instant Run: How Does it Work?!

  51. extended Instant Run • hot-swapਸ ਤೠ 
 ୶о ੘সਵ۽ ؊

    ו۰૗ • 64K ੉࢚੄ ҃਋ ࠽٘ য়ܨ • ղࠗ ಿ૕ ӝળ ޷׳ Instant Run: How Does it Work?!
  52. • ࠽٘ ઺ APK ࣻ੿੉ হ਺ • Dalvik ߂ ೞਤ

    ߡ੹ীࢲ Instant Run ҙ۲ ӝמ ઁѢ • Platform API۽ ࡅܰѱ জ प೯ • Runtime Instrumentation ഝਊೞৈ ௿ېझܳ ૊द ੤੿੄ • Android 8.0 (API 26) ੉࢚ ૑ਗ • ഐജغ૑ ঋח ߸҃ ߊࢤ द App/Activity ੤द੘ ৈࠗ উղ • Instant Runࠁ׮ וܾ ࣻ ੓਺ • ੼૓੸ ѐࢶ ৘੿ Apply Changes
  53. • Adding or deleting a class, method, or field •

    Changing the manifest • Changing method signatures • Changing modifiers of methods or classes • Renaming classes • Changing class inheritance • Adding or removing a resource • Changing native libraries (.so files) • Changing values in Enums Changes cannot be applied
  54. Apply Changes Apply Changes and Restart Activity (^⌘R) Run ‘app’

    (^R) Apply Code Changes (^⇧⌘R)
  55. extended Runtime Instrumentation ART Virtual Machineਵ۽ ੤੿੄, ୭न OS Android

    ೙ਃ Requires much newer Android Studio Android Studio 3.5 ੉࢚ No Change Code Apply Changesী ҙ҅হ੉ APKח Ѣ੄ زੌ
  56. Layout Editor

  57. 1. Constraint visualization and selection 2. Constraint creation 3. Constraint

    deletion 4. Visual refresh 5. Device snapping behavior 6. Dimension resources for margin Layout Editor Android Studio Project Marble: Layout Editor
  58. Android Studio 3.4 Android Studio Project Marble: Layout Editor

  59. Android Studio 3.5 Android Studio Project Marble: Layout Editor

  60. Android Studio Project Marble: Layout Editor

  61. Android Studio Project Marble: Layout Editor

  62. Android Studio Project Marble: Layout Editor

  63. Zoom In : Ctrl/Cmd + Zoom Out : Ctrl/Cmd -

    Android Studio Project Marble: Layout Editor
  64. Android Studio 3.4 Android Studio Project Marble: Layout Editor Create

    Constraints • Target View੄ Anchor۽ ٘ېӒ • Target View੄ ઺बਵ۽ Ցӝ • Attribute Pannelীࢲ ઁড ઑѤ ୶о extended
  65. Layout Editor Android Studio 3.4 Android Studio 3.5 Android Studio

    Project Marble: Layout Editor
  66. Layout Editor Android Studio 3.4 Android Studio 3.5 Android Studio

    Project Marble: Layout Editor
  67. Constraint Popup

  68. Constraint Popup

  69. Constraint Popup Simple Multiple Android Studio Project Marble: Layout Editor

  70. Constraint Menu

  71. Constraint Menu

  72. Layout Editor Android Studio Project Marble: Layout Editor

  73. Layout Editor Properties Panel Present New

  74. None
  75. Attributes Panel • ࢜܂ѱ ٣੗ੋ • ࣘࢿ ୶о/ઁѢܳ ؊ औѱ

    оמ
  76. extended Summary

  77. System Health Memory Settings Memory Usage Report Reduce Exceptions User

    Interface Freezes Build Speed IDE Speed Lint Code Analysis I/O File Access Emulator CPU Usage Feature Polish Apply Changes Gradle Sync Project Upgrades Layout Editor Data Binding App Deployment C++ Improvements Intellij 2019.1 Platform Update Chrome OS Support android studio 3.5
  78. android studio 3.4.2
 Stable 3.5
 RC 1 3.6
 Canary 5

  79. System Exception

  80. Preferences | Appearance & Behavior | System Settings | Data

    Sharing Feedback
  81. Preferences | Appearance & Behavior | System Settings | Data

    Sharing Feedback
  82. Recommend Android Developers Blog ~ Android Studio 3.5
 https://android-developers.googleblog.com/2019/05/android-studio-35-beta.html I/O

    2019 Session What's New in Android Development Tools (Google I/O'19) Android Developers ~ Project Marble https://medium.com/androiddevelopers/tagged/project-marble I/O 2019 Session What's New in Android Studio UI Design and Debugging Tools (Google I/O'19)
  83. Thank you. pluulove@gmail.com http:/ /pluu.github.io pluulove pluulove

  84. Q & A. pluulove@gmail.com http:/ /pluu.github.io pluulove pluulove