32.8 Using Run App
As previously described, the removal of a method requires the complete re-installation and restart of the running app. To experience this, edit the MainActivity.kt file and add a new method after the onCreate method as follows:
fun demoMethod() {
}
Use the Apply Code Changes button and confirm that the changes are applied without the need to reinstall the app.
Next, delete the new method and verify that clicking on either of the two Apply Changes buttons will result in the request failing. The only way to run the app after such a change is to click on the Run App button.