[英]How to install lettuce library on Android Studio?
如何在Gradle文件中的Android Studio上安裝生菜庫?
有什么解決方案可以編譯庫?
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’
}
在生菜的入門部分中,有一個名為“ 供Gradle用戶使用”的部分,介紹如何從gradle中添加庫。 我認為只需添加:
implementation 'io.lettuce:lettuce-core:5.1.3.RELEASE'
會工作。 您必須檢查是否必須調整當前的依賴關系和/或修改您的proguard
規則。
希望我能幫上忙。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.