美文网首页
java.lang.NoSuchMethodError: No

java.lang.NoSuchMethodError: No

作者: Aaglnny | 来源:发表于2019-12-23 10:50 被阅读0次

    java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface;
    in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat' appears in /data/app/com.ik.githubbrowser-YvwoGrxR8QaUEZ3IEqFVLQ==/split_lib_dependencies_apk.apk)

    解决方法:将buildToolsVersion 由'26.0.2'改成'27.0.3'
    参考链接:https://stackoverflow.com/questions/47113948/java-lang-nosuchmethoderror-no-static-method-getfontlandroid-content-contexti/47126127#47126127

    相关文章

      网友评论

          本文标题:java.lang.NoSuchMethodError: No

          本文链接:https://www.haomeiwen.com/subject/yzhznctx.html