Implementing fast code sharing for Dalvik

My company is developing Android, and we are interrupted by long compilations, dex, package, deployment cycles. Given the current state of VM and Dalvik tools, is something like JRebel for Android being created?

+6
source share
2 answers

JRebel for Android is now in beta and you can now sign up for an invitation. I hope this is what we want from us.

+6
source

I have JRebel beta access for Android . And it works pretty fast: it took ~ 20 seconds to restart the project after the changes. 20 seconds is much faster than 2 minutes with Gradle .

It still does not support Android live coding, but the JRebel team JRebel working on optimizations. I am sure that the stable release of JRebel for Android will be close to live coding.

Btw, there are alternatives for JRebel for Android :

  • The Cast layout is pretty unstable at the moment and requires Android 5+
  • Buck from Facebook . I have not tried this myself, but the tests say that it works faster than Gradle . Worth a try.
+2
source

Source: https://habr.com/ru/post/944827/


All Articles