How Android Instant Run Works

Today I installed Android Studio 2.0 Beta 7 and I really enjoyed one of its new features, namely Instant Run. We built a similar feature for NativeScript, named LiveSync, so I was curious to how Instant Run feature works. The first thing I noticed is instant-run.jar placed inĀ <my project>/build/intermediates/incremental-runtime-classes/debug directory. This library provides Server class …