Skip to content

添加IntButton在布局的时候报错 #64

@hlzIrving

Description

@hlzIrving

布局:

<com.bilibili.magicasakura.widgets.TintButton
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="123"/>
错误:Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.bilibili.magicasakura.widgets.TintButton

我添加了依赖implementation 'com.bilibili:magicasakura:0.1.8@aar'
内部的属性也没错,所以不太清楚为啥会报这个错误,本人用的是4.4.2夜神模拟器跑的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions