GithubHelp home page GithubHelp logo

Comments (5)

xyczero avatar xyczero commented on July 3, 2024

整个布局加载只有TintButton出错了?那可能需要你debug看下TintButton初始化时具体发生的错误了

from magicasakura.

hlzIrving avatar hlzIrving commented on July 3, 2024

整个布局加载只有TintButton出错了?那可能需要你debug看下TintButton初始化时具体发生的错误了

我把依赖删除,使用库的形式添加magicasakura,在TintButton内打断点,也是在4.4.2夜神模拟器运行,竟然没有崩溃,成功跑起来了。所以,这到底是啥原因崩溃的。

from magicasakura.

xyczero avatar xyczero commented on July 3, 2024

😂那通过依赖的形式打断点看看呢

from magicasakura.

hlzIrving avatar hlzIrving commented on July 3, 2024

joy那通过依赖的形式打断点看看呢

Caused by: java.lang.NoClassDefFoundError: android.support.v4.graphics.drawable.DrawableWrapper
at com.bilibili.magicasakura.utils.ThemeUtils.getWrapperDrawable(ThemeUtils.java:270)
at com.bilibili.magicasakura.utils.ThemeUtils.containsNinePatch(ThemeUtils.java:245)
at com.bilibili.magicasakura.widgets.AppCompatBackgroundHelper.recoverPadding(AppCompatBackgroundHelper.java:197)
at com.bilibili.magicasakura.widgets.AppCompatBackgroundHelper.setBackgroundDrawable(AppCompatBackgroundHelper.java:122)
at com.bilibili.magicasakura.widgets.AppCompatBackgroundHelper.loadFromAttribute(AppCompatBackgroundHelper.java:65)
at com.bilibili.magicasakura.widgets.TintButton.(TintButton.java:59)
at com.bilibili.magicasakura.widgets.TintButton.(TintButton.java:48)
at java.lang.reflect.Constructor.constructNative(Native Method) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
at android.view.LayoutInflater.createView(LayoutInflater.java:594) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
依赖下断点在这里报错了。4.4.2夜神模拟器运行

from magicasakura.

xyczero avatar xyczero commented on July 3, 2024

😯这个类是v4里的。。。感觉是模拟器的锅

from magicasakura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.