Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.1.0
Devices/Android versions reproduced on: android 6.0 x86 system image
Step:
1.
<vector xmlns:android="
android:tint="?attr/colorControlNormal"
...>
<path .../>
</vector>
2.
final VectorDrawableCompat drawable = VectorDrawableCompat.create(res, resId, null);
error:
java.lang.UnsupportedOperationException: Failed to resolve attribute at index 1: TypedValue{t=0x2/d=0x7f0400ae a=-1}
VectorDrawable is available in api >= 21, why not use VectorDrawable from API 21.