Android studio uses the same system as in Jrebel to quickly launch more accurate application updates.

Is there any other system thread for quick application update? For example, I changed the 1st grade. Once and the application has been updated.

And you do not need to re-climb 10 windows to get to 11. Jrebel does not update the application. let's say i'm on the 11th window. I click update Jrebel and the result does not change

  • 2
    In Android Studio, there is an InstantRun function , is it "the same system" ? Your question is how to use Jrebel in Android Studio? - pavlofff
  • one
    Most likely in JRebel you press the wrong button. Restart instead of updating. - eugeneek
  • Jrebel works with API 11. And InstantRun works with API 21 like. The essence of them is the same. But the problem is that let's say in window 11 I changed the color of the button. Click Apply tobish update. 7 seconds and the application has been updated. But the color has not changed. To see the result you need to exit the application and re-enter. Essentially InstantRun and Jrebel do nothing - Andro

1 answer 1

Click enter image description here

and the application will be updated, and not run first. But this is often when changes are made to the view elements, it all depends on the depth of the changes, sometimes you still need to make a full restart.

  • one
    In fact, the documentation clearly states when an update occurs, when a restart occurs. In general, there are three different modes: cold, warm, and hot restarts, and when which one will be launched is clearly defined, without any uncertainties, like “often” and “depth of change” - pavlofff