如何在 Android Studio 上安装 lettuce 库?
How to install lettuce library on Android Studio?
如何在 Android studio 的 Gradle 文件中安装 lettuce 库?
有编译库的解决方案吗?
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’
}
在 lettuce 的 getting started 部分中,有一个名为 For Gradle Users 的部分介绍了如何从 gradle 添加库。我想只是添加:
implementation 'io.lettuce:lettuce-core:5.1.3.RELEASE'
会起作用。您必须检查是否必须调整您当前的依赖关系 and/or 修改您的 proguard
规则。
希望我有所帮助。
如何在 Android studio 的 Gradle 文件中安装 lettuce 库?
有编译库的解决方案吗?
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’
}
在 lettuce 的 getting started 部分中,有一个名为 For Gradle Users 的部分介绍了如何从 gradle 添加库。我想只是添加:
implementation 'io.lettuce:lettuce-core:5.1.3.RELEASE'
会起作用。您必须检查是否必须调整您当前的依赖关系 and/or 修改您的 proguard
规则。
希望我有所帮助。