【问题标题】:FolioReader-Android Cache IssueFolioReader-Android 缓存问题
【发布时间】:2019-10-31 07:23:05
【问题描述】:

我想在我的 Android Studio 中使用 FolioReader-Android 库。 我在我的 Gradle 上实现了该库,当我想运行该项目时,出现了一个未知错误: *

/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。

有什么问题?

【问题讨论】:

    标签: java android android-studio epub


    【解决方案1】:

    在你的 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")
            }
    
    }   
    

    `

    【讨论】:

    • 请尝试更详细地描述错误以及您的答案将如何解决它。软建议。
    猜你喜欢
    • 2021-12-02
    • 1970-01-01
    • 2012-06-03
    • 2016-04-16
    • 2014-05-31
    • 2021-02-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多