zhihu / Matisse

:fireworks: A well-designed local image and video selector for Android
Apache License 2.0
12.51k stars 2.06k forks source link

RuntimeException:Unable to start activity #453

Closed merbng closed 6 years ago

merbng commented 6 years ago

`

1 java.lang.RuntimeException:Unable to start activity ComponentInfo{com.yulebaby.member/com.zhihu.matisse.ui.MatisseActivity}: android.view.InflateException: Binary XML file line #0: Error inflating class TextView

2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2587) 3 ...... 4 Caused by: 5 java.lang.RuntimeException:Failed to resolve attribute at index 5 6 android.content.res.TypedArray.getColorStateList(TypedArray.java:425) 7 android.widget.TextView.(TextView.java:1022) 8 android.widget.TextView.(TextView.java:664) 9 android.support.v7.widget.AppCompatTextView.(AppCompatTextView.java:75) 10 android.support.v7.widget.AppCompatTextView.(AppCompatTextView.java:71) 11 android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:103) 12 android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1024) 13 android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1081) 14 android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:725) 15 android.view.LayoutInflater.rInflate(LayoutInflater.java:806) 16 android.view.LayoutInflater.rInflate(LayoutInflater.java:809) 17 android.view.LayoutInflater.inflate(LayoutInflater.java:504) 18 android.view.LayoutInflater.inflate(LayoutInflater.java:414) 19 android.view.LayoutInflater.inflate(LayoutInflater.java:365) 20 android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287) 21 android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) 22 com.zhihu.matisse.ui.MatisseActivity.onCreate(MatisseActivity.java:90) 23 android.app.Activity.performCreate(Activity.java:6231) 24 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112) 25 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2534) 26 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2678) 27 android.app.ActivityThread.access$900(ActivityThread.java:187) 28 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1523) 29 android.os.Handler.dispatchMessage(Handler.java:111) 30 android.os.Looper.loop(Looper.java:210) 31 android.app.ActivityThread.main(ActivityThread.java:5809) 32 java.lang.reflect.Method.invoke(Native Method) 33 java.lang.reflect.Method.invoke(Method.java:372) 34 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113) 35 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)

`

前后台状态:后台

设备机型:OPPO R9M 真机测试

系统版本:Android 5.1,level 22

ROM:Oppo/COLOROS

CPU架构:arm64-v8a

merbng commented 6 years ago

版本:0.5.0-beta3

REBOOTERS commented 6 years ago

bug had been fixed in latest version.

JacCheng commented 6 years ago

bug had been fixed in latest version.

in latest version 0.5.2-beta3, this bug still exists! android os: 4.4.2, SM705