最近在開發測試過程中
有位同事的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)