Android Studio Instant Run

08-18-2017, 08:38 PM

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:

Comment

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.