Has anyone seen any weirdness with attribute index...
# android
d
Has anyone seen any weirdness with attribute indexes or resource IDs being mismatched in the latest gradle plugins (3.0.0-alpha2+)? I've been having a hell of a time reproducing on a small enough scale to file a bug, and haven't seen anyone else with the problem. For example, a view (from a library) will call
TypedArray.getInt(5)
, where 5 is constant from its own
R.styleable
, but 5 isn't the correct index, and actually maps to a different attribute which could be a string or something. I'm thinking that the newer version is ordering them differently in some cases? (Yeah, I know, stackoverflow ... but maybe it has something to do with Kotlin, I've no idea what's going on)