简体   繁体   中英

The accelerometer on different devices is somehow causing my app to crash

This is a frustrating problem, because I can't easily debug my app for every different form factor. Two people have emailed me and said that 'the app crashes on tilt'. I've had one of the users with problems email me the output from the logcat when they run my app.

Here is the output. I'm a bit new to Android development, so this is very cryptic to me and I'm not sure what it relates to in my actual code.

If it's helpful I can post any of my classes, or any information that would be useful.

EDIT: I could be wrong but my guess is that the output referring to the accelerometer starts around line 432 on the pastebin.

他们可能正在使用平板电脑,其默认屏幕方向为横向,原点为手机右上角。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM