我使用新的v7支持库更新了我的应用程序,它比以往任何时候都崩溃了。 第一次崩溃的原因是一些配备Android 4.2的三星设备。 现在我有一个新的:
java.lang.IllegalArgumentException:位图大小超过32位 在android.graphics.Bitmap.nativeCreate(Native Method)at android.graphics.Bitmap.createBitmap(Bitmap.java:605)at android.graphics.Bitmap.createBitmap(Bitmap.java:585)at android.view.View.buildDrawingCache(View.java:10768)at android.view.ViewGroup.drawChild(ViewGroup.java:2761)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.getDisplayList(View.java:10557)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.getDisplayList(View.java:10557)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.widget.FrameLayout.draw(FrameLayout.java:450)at android.view.View.getDisplayList(View.java:10559)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.support.v7.widget.RecyclerView.draw(RecyclerView.java:2262)at android.view.View.getDisplayList(View.java:10559)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.widget.FrameLayout.draw(FrameLayout.java:450)at android.view.View.getDisplayList(View.java:10559)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.view.View.getDisplayList(View.java:10559)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.widget.FrameLayout.draw(FrameLayout.java:450)at android.view.View.getDisplayList(View.java:10559)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.support.v7.internal.widget.ActionBarOverlayLayout.draw(ActionBarOverlayLayout.java:509) 在android.view.View.getDisplayList(View.java:10559)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.getDisplayList(View.java:10557)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.getDisplayList(View.java:10557)at android.view.ViewGroup.drawChild(ViewGroup.java:2864)at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2503)at android.view.View.draw(View.java:11123)at android.widget.FrameLayout.draw(FrameLayout.java:450)at com.android.internal.policy.impl.PhoneWindow $ DecorView.draw(PhoneWindow.java:2276) 在android.view.View.getDisplayList(View.java:10559)at android.view.HardwareRenderer $ GlRenderer.draw(HardwareRenderer.java:876) 在android.view.ViewRootImpl.draw(ViewRootImpl.java:2092)at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1816)at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2628)at at android.os.Handler.dispatchMessage(Handler.java:99)at android.os.Looper.loop(Looper.java:137)at android.app.ActivityThread.main(ActivityThread.java:4517)at java.lang.reflect.Method.invokeNative(Native Method)at java.lang.reflect.Method.invoke(Method.java:511)at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:993) 在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)at dalvik.system.NativeStart.main(原生方法)
这就是Google Play Developer Console中的全部内容。我甚至不知道如何重现这次崩溃。我的应用程序不使用任何图像!? 但谁能告诉我如何避免这次崩溃?