Read complete story

Android Studio 2.0 – Beta is now available with Instant Run

What really annoys every android developer is build process. I know you agree with me guys but i am sure Google Dev team took this as a serious issue., that is why they come up with the beta version of Android Studio 2.0 earlier this week.

Studio 2.0 is now bundle with many new feature like instant run, a all new GPU Profiler and a brand new Android Emulator, that are surely created to increase our efficiency.

Instant Run: WYCIWYB: what you code is what you build

The coolest thing about the studio 2.0 is the instant run. It’s refreshes the current activity and reflect the changes on your device/emulator. Sounds GOOD lets see how it work’s.

  1. Download the Android Studio 2.0

2. If you have a pre-existing app open Settings/Preferences, the go to Build, Execution, Deployment → Instant Run. Click on Enable Instant Run…

 

Note:  Click the Update Project link. When prompted, click OK.

 

Screenshot_1

 

Instant Run in Android Studio 2.0 allows you to quickly make changes to your app code while your app is running on an Android device or Android Emulator. Instead of waiting for your entire app to rebuild and redeploy after each code change, Android Studio 2.0 will try to incrementally build and push only the incremental code or resource change. Depending on the code changes you make, you can see the results of your change in under a second. By simply updating your app to use the latest Gradle plugin ( com.android.tools.build:gradle:2.0.0-beta2 ), you can take advantage of this time saving features with no other modifications to your code. If your project is setup correctly with Instant Run, you will see a lightning bolt next to your Run button on the toolbar:

Screenshot_2

 

How/When Instant Run Works

 

 

 

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close