airbnb / paris

Define and apply styles to Android views programmatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues in AS design inspection with TypedArrayTypedArrayWrapper class

Mathreyu opened this issue · comments

This issue arose recently since we use Paris as part of a library and then use it in the main project. In the base library project it works just fine but once it gets converted into a library it stops working.

Note: Works fine when running in app, the only issue is on design inspection.

This is the stacktrace shown:

Exception Details java.lang.NoClassDefFoundError: Could not initialize class com.airbnb.paris.typed_array_wrappers.TypedArrayTypedArrayWrapper   at com.airbnb.paris.styles.AttributeSetStyle.obtainStyledAttributes(AttributeSetStyle.kt:24)   at com.airbnb.paris.StyleApplier.apply(StyleApplier.kt:55)   at com.airbnb.paris.StyleApplier.apply(StyleApplier.kt:38)