Announcement

Collapse
No announcement yet.

Android Studio Instant Run

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Android Studio Instant Run

    Hi Folks,

    If you are using Android Studio to write op modes for your FTC Robot Controller, then it is strongly recommended that you disable the Instant Run feature that is included with newer versions of Android Studio.

    Instant Run is problematic and can cause weird (and difficult to debug) run time errors with the FTC Robot Controller app.

    Details on how to disable Instant Run can be found on the developer.android.com website:

    https://developer.android.com/studio...tml#disable-ir

    Tom

  • #2
    Android Studio 3.5 replaces Instant Run with Apply Changes:

    [QUOTE]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
    John McDonnell
    Co-Mentor, Team 5873
    https://www.facebook.com/Team5873

    Comment


    • #3
      The quote in my previous post was truncated due to "smart" quotes being illegal characters. I'll try again:

      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.
      John McDonnell
      Co-Mentor, Team 5873
      https://www.facebook.com/Team5873

      Comment

      Working...
      X