No announcement yet.

Android Studio 3.5 replaces "Instant Run" with "Apply Changes"

  • Filter
  • Time
  • Show
Clear All
new posts

  • Android Studio 3.5 replaces "Instant Run" with "Apply Changes"

    Android Studio 3.5, which is live on the Android Studio download site, replaces the "Instant Run" feature with a new "Apply Changes" feature, so you won't be able to follow the instructions for disabling Instant Run in the stickied post. The release notes explain the difference between the two features:

    For example, we took a look at the app deployment flow to a device, and completely re-architectured and replaced Instant Run with Apply Changes so that it's more reliable and trusted. With Apply Changes, we no longer modify an APK during your build but instead, we use runtime instrumentation to redefine classes on the fly.
    No word on whether Apply Changes is as problematic as Instant Run was.

    On a related topic, if you need to un-install and re-install the Robot Controller app from within Android Studio, you can use this script in the 'Terminal' tool window:

    pushd TeamCode\build\outputs\apk\debug
      %LOCALAPPDATA%\Android\Sdk\platform-tools\adb uninstall com.qualcomm.ftcrobotcontroller
      %LOCALAPPDATA%\Android\Sdk\platform-tools\adb install TeamCode-debug.apk
    John McDonnell
    Co-Mentor, Team 5873

  • #2
    Previous versions of Android Studio are still available at if you'd rather not deal with this change right now.

    FYI, the update went fairly well for me. Gradle and the Gradle plug-in will be available for update, too.
    John McDonnell
    Co-Mentor, Team 5873