title: ART on supported devices versus ART on pre-built images
body: <p>There are several applications that we have in the Play Store.  As a preparatory test to the new Lollipop release, I wanted to see where our applications stood.  </p>
  
  <p>The first approach that I took was to take the Samsung Google Edition S4 and tell it to enable and reboot with the ART runtime environment (also available on our Nexus 5).  This enlightened me to a couple issues that I could resolve going forward when this is official for the Nexus 9 release.</p>
  
  <p>Then however, a build was released to push Lollipop 5.0 to the Nexus 7.  Pushing it there provided me with additional issues.  However, the printouts seem related to ART still.  Such as:</p>
  
  <pre><code>11-03 09:22:29.419: E/art(6256): Tried to mark 0xfe80a920 not contained by any spaces
  11-03 09:22:29.419: E/art(6256): Attempting see if it's a bad root
  11-03 09:22:29.420: A/art(6256): art/runtime/gc/collector/mark_sweep.cc:381] Can't mark invalid object
  </code></pre>
  
  <p>followed by a crash.  </p>
  
  <p>Have you guys found that certain features of ART interact differently between the way that it interacts with 5.0+ instead of those before 5.0?  Perhaps there are even stricter requirements on the recent operating system that are causing this.  </p>
  
  <p>I hadn't worked with these downloadable builds before a release before.  Are they reliable in comparison with the actual release that is to come?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The issue has been resolved and did have something to do along the lines of the misuse of certain method calls into java objects from native code.  Since I was able to work around needing to even make these calls in the first place, I just removed this code segment on this particular native code segment and did in Java instead.</p>
  
  <p>It did not seem to be a problem in the native code since breakpoints were received after the native code, but apparently at some point down the line later it caused some undetermined crash at a later given point in time.  Perhaps simply by design of how ART works in comparison to Dalvik.</p>