A simple reboot of the Nexus 9 solved the issue... On Sat, Aug 29, 2015 at 9:54 PM Anton Persson <[email protected]> wrote:
> Hi, > > I'm working on an app that uses the accelerometer. The app works just fine > and dandy on a Nexus 5 and a Samsung Galaxy S6. However, when I run it on a > Nexus 9 it crashes on startup - every time. > > The offending call is this: > > senSensorManager = > (SensorManager)ctx.getSystemService(Context.SENSOR_SERVICE); > > If I remove that line it works just fine. (Except that I cannot use the > accelerometer...) > > From the log it seems pretty serious. Any ideas? > > Best Regards > Anton > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

