如何在Android Studio中安装生菜库?

问题描述 投票:0回答:1

如何在Android工作室安装包生菜库在摇篮文件?

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个回答
1
投票

在生菜的getting started部分有一个叫做有关如何从gradle这个添加库摇篮用户部分。我认为只是增加:

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

会工作。你必须检查,如果你必须调整当前的依赖性和/或修改您的proguard规则。

希望我帮助。

© www.soinside.com 2019 - 2024. All rights reserved.