Overview of “What’s New in Android
Development Tools” - Google I/O 2016
Liangjun Jiang
2016/07/13
Watch it online Or Download here
http://mileage.loftyet.webfactional.com/download/What-new-in-Android-development-tools-
Google-I-O-2016.mp4
How to get started
1. Background mode while updating
2. Instant run
More later.
3. Extract Method
Turn codes into a method
Select codes ->right click->Refactor ->Extract ->Methods...
Then name the method...
4. Analyze APK…
Dex file, 64K method limit
Then make decision where to reduce, when to use multiple dex
Merged Manifests.xml
5. Build gradle message
Show which dependency needs to be updated, and can update them all
6. C++
In app build gradle
Wizard to create C++ project
C++ debug
7. Command line launcher
8. Command line build with build tool updating
Modify gradle.properties
9. Layout Editor
Drag & drop menu item
Drag & drop preference Item
Show important properties attributes on the right and can be expanded when needed
Design surface scrollable when scrollView used
Blueprint mode
Blueprint mode for constraint layout
Convert existing layout to ConstraintLayout
10. Editing
Firebase integration
Find sample code
11. IntelliJ new feature
Support Arabic language
Editor Memory Leak Warning
New Annotation
@Anythread
@RequireApi
@Dimensions
@Px
@Keep
Infer Nullity
Permissions (Working in progress)
Remove unused resources
Espresso Test
Editor Assertion
Cloud Testing (Firebase integration)
Visual Editor - Design
New XML Layout Editor
Layout Inspector
New AAPT - resource Id is now constant! Reduce build time
Project Structure - modify gradle parameters in IDE (36’20”)
Jack Compiler with Java 8 Language Features, Annotation Support
Enhanced C++ (CMake, NDKBuild, Files in IDE) (38’18”)
Debugger - IDE select Debug type for you
If use Debugger for N,
Testing
Android Emulator
Firebase Test Lab - test again devices you don’t own
What new-in-android-development-tools-googleio2016

What new-in-android-development-tools-googleio2016

  • 1.
    Overview of “What’sNew in Android Development Tools” - Google I/O 2016 Liangjun Jiang 2016/07/13 Watch it online Or Download here http://mileage.loftyet.webfactional.com/download/What-new-in-Android-development-tools- Google-I-O-2016.mp4 How to get started
  • 2.
    1. Background modewhile updating 2. Instant run More later. 3. Extract Method Turn codes into a method Select codes ->right click->Refactor ->Extract ->Methods... Then name the method...
  • 3.
  • 4.
    Dex file, 64Kmethod limit Then make decision where to reduce, when to use multiple dex Merged Manifests.xml 5. Build gradle message Show which dependency needs to be updated, and can update them all 6. C++ In app build gradle
  • 5.
    Wizard to createC++ project C++ debug 7. Command line launcher
  • 6.
    8. Command linebuild with build tool updating Modify gradle.properties 9. Layout Editor Drag & drop menu item
  • 7.
    Drag & droppreference Item Show important properties attributes on the right and can be expanded when needed Design surface scrollable when scrollView used Blueprint mode
  • 8.
    Blueprint mode forconstraint layout Convert existing layout to ConstraintLayout
  • 9.
  • 10.
    11. IntelliJ newfeature Support Arabic language Editor Memory Leak Warning New Annotation @Anythread @RequireApi @Dimensions @Px @Keep
  • 11.
    Infer Nullity Permissions (Workingin progress) Remove unused resources
  • 12.
    Espresso Test Editor Assertion CloudTesting (Firebase integration) Visual Editor - Design New XML Layout Editor Layout Inspector
  • 13.
    New AAPT -resource Id is now constant! Reduce build time Project Structure - modify gradle parameters in IDE (36’20”) Jack Compiler with Java 8 Language Features, Annotation Support Enhanced C++ (CMake, NDKBuild, Files in IDE) (38’18”) Debugger - IDE select Debug type for you If use Debugger for N,
  • 14.
    Testing Android Emulator Firebase TestLab - test again devices you don’t own