使用的Android 4.2版本测试时,程序没问题。当使用6.0版本测试时,进入到登录界面之后就会闪退。
Logcat日志
06-23 12:06:20.389 15567-15567/W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
06-23 12:06:20.427 15567-15567/I/BitmapFactory: set decoder allocator to gralloc
06-23 12:06:20.428 15567-15567/I/gralloc: ddr_interlace_info = 128
06-23 12:06:20.428 15567-15567I/gralloc: Alloc req: dev=0xe43dc680, w=1502, h=538, format=0x1, usage=0x2000003
06-23 12:06:20.429 15567-15567/I/gralloc: Alloc handle(0xf458a300): interfmt=0x1, stride=1536, size=3317760
06-23 12:06:20.462 15567-15567/I/gralloc: Alloc req: dev=0xe43dc680, w=1377, h=493, format=0x1, usage=0x2000003
06-23 12:06:20.463 15567-15567/I/gralloc: Alloc handle(0xf458a100): interfmt=0x1, stride=1408, size=2793472
06-23 12:06:20.473 15567-15567/I/gralloc: Free handle(0xf458a100)
06-23 12:06:20.473 15567-15567/I/gralloc: Free handle(0xf458a300)
06-23 12:06:20.475 15567-15578/I/art: humin current process: com.huazhichengsi.wu.rfid
06-23 12:06:20.475 15567-15578/I/art: current process_level is :
06-23 12:06:20.525 15567-15599/I/OpenGLRenderer: Initialized EGL, version 1.4
06-23 12:06:22.555 15567-15597/I/Process: Sending signal. PID: 15567 SIG: 9
Logcat日志
06-23 12:06:20.389 15567-15567/W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
06-23 12:06:20.427 15567-15567/I/BitmapFactory: set decoder allocator to gralloc
06-23 12:06:20.428 15567-15567/I/gralloc: ddr_interlace_info = 128
06-23 12:06:20.428 15567-15567I/gralloc: Alloc req: dev=0xe43dc680, w=1502, h=538, format=0x1, usage=0x2000003
06-23 12:06:20.429 15567-15567/I/gralloc: Alloc handle(0xf458a300): interfmt=0x1, stride=1536, size=3317760
06-23 12:06:20.462 15567-15567/I/gralloc: Alloc req: dev=0xe43dc680, w=1377, h=493, format=0x1, usage=0x2000003
06-23 12:06:20.463 15567-15567/I/gralloc: Alloc handle(0xf458a100): interfmt=0x1, stride=1408, size=2793472
06-23 12:06:20.473 15567-15567/I/gralloc: Free handle(0xf458a100)
06-23 12:06:20.473 15567-15567/I/gralloc: Free handle(0xf458a300)
06-23 12:06:20.475 15567-15578/I/art: humin current process: com.huazhichengsi.wu.rfid
06-23 12:06:20.475 15567-15578/I/art: current process_level is :
06-23 12:06:20.525 15567-15599/I/OpenGLRenderer: Initialized EGL, version 1.4
06-23 12:06:22.555 15567-15597/I/Process: Sending signal. PID: 15567 SIG: 9