Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing Hot code swap for Dalvik

My company does a lot of Android development and we're hampered by the long compile, dex, package, deploy cycles. Given the current state of the Dalvik VM and tools, is building something like JRebel for Android would be possible?

like image 263
Ahmed Fathalla Avatar asked May 12 '13 19:05

Ahmed Fathalla


2 Answers

JRebel for Android is now in beta and you can now signup for an invite. Hopefully this will be what both of us want.

like image 169
Matt Carron Avatar answered Sep 21 '22 22:09

Matt Carron


I've got the JRebel for Android beta access not long ago. And it's working already pretty fast: it tooks ~20sec to make-reload the project after changes. 20 sec is much faster than 2 min with Gradle.

It's still not live-coding for Android, but JRebel team works hard on optimizations. I bet that stable release of JRebel for Android will be close to live-coding.

Btw, there are alternatives for the JRebel for Android:

  1. Layout Cast - pretty unstable at the moment, and requires Android 5+
  2. Buck from Facebook. Haven't tried it by myself, but benchmarks say that it works faster than Gradle builds. Worth a try.
like image 38
Veaceslav Gaidarji Avatar answered Sep 18 '22 22:09

Veaceslav Gaidarji