最近在开发测试过程中
有位同事的htc手机(android 4.4.2),只要开启协助工具,如字体放大功能
就会造成开发的app随机的crash
不知有没有大大有相同的经验呢?
还是知道可能是什么原因造成的?
谢谢
随机发生crash的地方不同,但crash log都是相同的
crash log如下:
02-05 10:21:40.498: E/AndroidRuntime(24744): java.lang.NullPointerException
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.view.View.sendAccessibilityEventUncheckedInternal(View.java:5020)
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.view.View.sendAccessibilityEventUnchecked(View.java:5001)
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.view.View$SendViewStateChangedAccessibilityEvent.run(View.java:19761)
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.os.Handler.handleCallback(Handler.java:733)
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.os.Handler.dispatchMessage(Handler.java:95)
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.os.Looper.loop(Looper.java:157)
02-05 10:21:40.498: E/AndroidRuntime(24744): at android.app.ActivityThread.main(ActivityThread.java:5872)
02-05 10:21:40.498: E/AndroidRuntime(24744): at java.lang.reflect.Method.invokeNative(Native Method)
02-05 10:21:40.498: E/AndroidRuntime(24744): at java.lang.reflect.Method.invoke(Method.java:515)
02-05 10:21:40.498: E/AndroidRuntime(24744): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
02-05 10:21:40.498: E/AndroidRuntime(24744): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
02-05 10:21:40.498: E/AndroidRuntime(24744): at dalvik.system.NativeStart.main(Native Method)