【问题标题】:How to install lettuce library on Android Studio?如何在 Android Studio 上安装生菜库?
【发布时间】:2019-02-04 17:15:54
【问题描述】:

如何在 Android studio 上的 Gradle 文件中安装 lettuce 库?

https://lettuce.io

有没有编译库的解决方案?

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0’

}

【问题讨论】:

    标签: java android-studio redis lettuce


    【解决方案1】:

    在 lettuce 的 getting started 部分中,有一个名为 For Gradle Users 的部分介绍了如何从 gradle 添加库。我想只是添加:

    implementation 'io.lettuce:lettuce-core:5.1.3.RELEASE'
    

    会起作用的。您必须检查是否必须调整当前依赖项和/或修改您的 proguard 规则。

    希望我能帮上忙。

    【讨论】:

    • 工作是你的救星!!!非常感谢,现在快速提问,你认为生菜比绝地好还是?
    猜你喜欢
    • 1970-01-01
    • 2015-04-03
    • 2015-12-19
    • 2020-04-26
    • 2016-12-02
    • 2017-05-11
    • 2017-11-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多