Open merbng opened 6 years ago
`
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.internal.ui.BasePreviewActivity.onCreate(BasePreviewActivity.java:62) 23 com.zhihu.matisse.internal.ui.AlbumPreviewActivity.onCreate(AlbumPreviewActivity.java:42) 24 android.app.Activity.performCreate(Activity.java:6231) 25 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112) 26 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2534) 27 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2678) 28 android.app.ActivityThread.access$900(ActivityThread.java:187) 29 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1523) 30 android.os.Handler.dispatchMessage(Handler.java:111) 31 android.os.Looper.loop(Looper.java:210) 32 android.app.ActivityThread.main(ActivityThread.java:5809) 33 java.lang.reflect.Method.invoke(Native Method) 34 java.lang.reflect.Method.invoke(Method.java:372) 35 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113) 36 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)
` 设备信息: 机型: OPPO R9M ROM:Oppo/COLOROS 系统版本:Android 5.1,level 22 CPU架构:arm64-v8a 前后台状态:后台
Matisse版本号:0.5.0-beta3
Matisse 版本是多少?
是否使用了Configuration#setToDefaults
版本:0.5.0-beta3
未使用Configuration#setToDefaults
bug had been fixed in latest version.
@REBOOTERS 0.52-beta4也有这个问题
`
1 java.lang.RuntimeException:Unable to start activity ComponentInfo{com.yulebaby.member/com.zhihu.matisse.internal.ui.AlbumPreviewActivity}: 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.internal.ui.BasePreviewActivity.onCreate(BasePreviewActivity.java:62)
23 com.zhihu.matisse.internal.ui.AlbumPreviewActivity.onCreate(AlbumPreviewActivity.java:42)
24 android.app.Activity.performCreate(Activity.java:6231)
25 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
26 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2534)
27 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2678)
28 android.app.ActivityThread.access$900(ActivityThread.java:187)
29 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1523)
30 android.os.Handler.dispatchMessage(Handler.java:111)
31 android.os.Looper.loop(Looper.java:210)
32 android.app.ActivityThread.main(ActivityThread.java:5809)
33 java.lang.reflect.Method.invoke(Native Method)
34 java.lang.reflect.Method.invoke(Method.java:372)
35 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1113)
36 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:879)
` 设备信息: 机型: OPPO R9M
ROM:Oppo/COLOROS
系统版本:Android 5.1,level 22
CPU架构:arm64-v8a 前后台状态:后台
Matisse版本号:0.5.0-beta3