Open NeVaDaAAA opened 6 years ago
机型:OnePlus3 Android版本:8.0.0
项目版本: compileSdkVersion: 28, buildToolsVersion: "28.0.2", applicationId : "com.ani.dylan.peony", minSdkVersion : 21, targetSdkVersion : 28, versionCode : 1, versionName : "1.0",
遇到了相同的问题
建议暂时先换到0.1.8版本(compile 'com.bilibili:magicasakura:0.1.8@aar'),亲测无此问题
XML: <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context=".module.home.MainActivity">
报错信息: Caused by: android.view.InflateException: Binary XML file line #20: Binary XML file line #20: Error inflating class com.bilibili.magicasakura.widgets.TintToolbar Caused by: android.view.InflateException: Binary XML file line #20: Error inflating class com.bilibili.magicasakura.widgets.TintToolbar
换成V7自带的Toolbar就没有问题。 求各位大佬帮忙看看 感激不禁