How can I use "Apply Changes" if I use Crashlytics? : <p>I'm using Android Studio 3.5 Beta 1. I decided to try out "Apply Changes". Instant Run was problematic, so we've had it disabled for years. I hoped that this would work better.</p>

<p>If I try the "Apply Code Changes" button, I get an error in the Run window:</p>

<pre><code>Changes were not applied.
Modifying resources requires an activity restart.
Resource 'assets/crashlytics-build.properties' was modified.
Apply changes and restart activity
</code></pre>

<p><code>crashlytics-build.properties</code> has comments that say</p>

<pre><code>#This file is automatically generated by Crashlytics to uniquely
#identify individual builds of your Android application
</code></pre>

<p>And indeed, it has a <code>build_id</code> property that presumably changes for every Gradle build. And since Gradle runs a build whenever I use the "Apply Code Changes" or "Apply Changes and Restart Activity" buttons, the Gradle build changes the file, which prevents Apply Run from completing.</p>

<p>The only information I've found online related to this was one <a href="https://www.reddit.com/r/androiddev/comments/atlzmk/android_studio_project_marble_apply_changes/eh98465/" rel="noreferrer">Reddit comment</a> saying</p>

<blockquote>
  <p>I learned the hard way that crashlytics + proguard breaks instant run</p>
</blockquote>

<p>So it would seem I'm not the only person with this problem. Removing Crashlytics isn't an option. Nor would I want to disable it every time I'm going to do some debugging, then re-enable it again.</p>

<p>The "Apply Changes and Restart Activity" button does function. The Activity I'm using restarts and changes are visible. I tried comparing the timing of this to using the regular "Run" button. "Apply Changes and Restart Activity" takes just as long. The only benefit seems to be that instead of having to navigate through the app to that screen each time, I can remain on that screen and reload the changes. That is a nice benefit, I just expected more.</p>

<p>Is there anything I can do to make "Apply Changes" work more effectively for me?</p>
