我想在 Android Studio 中使用 FolioReader-Android 庫。我在 Gradle 上實現(xiàn)了該庫,當(dāng)我想運行該項目時,出現(xiàn)未知錯誤:*/Users/hamid/.gradle/caches/transforms-2/files-2.1/1ef74cdf85927d9b084bf9bd34edc7d8/folioreader-0.5.4/res/layout/progress_dialog.xml:13: AAPT: 錯誤: 資源 android:attr/android:progressBarStyle 未找到。有什么問題?
1 回答

慕娘9325324
TA貢獻1783條經(jīng)驗 獲得超4個贊
在你的 gradle 依賴項中嘗試添加這個
implementation "com.folioreader:folioreader:0.5.4"
implementation 'com.android.support:multidex:1.0.3' // ( for androidx)
configurations.matching { it.name == '_internal_aapt2_binary' }.all {
config ->
config.resolutionStrategy.eachDependency {
details -> details.useVersion("3.3.2-5309881")
}
}
`
添加回答
舉報
0/150
提交
取消