gpt4 book ai didi

Error: Could not find info.androidhive:barcode-reader:1.1.5(错误:找不到信息。androidhive:条形码阅读器:1.1.5)

转载 作者:bug小助手 更新时间:2023-10-25 16:51:21 26 4
gpt4 key购买 nike



I am migrating my old project to the latest API Level. While doing so I updated the dependencies to the recommended versions. While running a gradle build I am stuck at

我正在将我的旧项目迁移到最新的API级别。在此过程中,我更新了对推荐版本的依赖关系。在运行Gradle版本时,我被困在


 What went wrong:     

Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find info.androidhive:barcode-reader:1.1.5.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/info/androidhive/barcode-reader/1.1.5/barcode-reader-1.1.5.pom
- https://repo.maven.apache.org/maven2/info/androidhive/barcode-reader/1.1.5/barcode-reader-1.1.5.pom
Required by:
project :app

Below are the dependencies included in the gradle file.

下面是gradle文件中包含的依赖项。


dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support.constraint:constraint-layout:2.1.4'
implementation 'com.android.volley:volley:1.2.1'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
implementation 'com.google.android.gms:play-services-vision:20.1.3'
implementation 'com.google.android.gms:play-services-location:21.0.1'
implementation 'com.google.android.gms:play-services-maps:18.1.0'
implementation 'io.socket:socket.io-client:2.1.0'
implementation 'com.karumi:dexter:6.2.3'
testImplementation 'junit:junit:4.13.2'
implementation files('src/main/java/com/meltag/hil/util/libs/jsoup-1.10.2.jar')
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
transitive = true
}
implementation('com.google.code.gson:gson:2.10.1') {
exclude module: 'gson:2.2.4'
}
implementation 'info.androidhive:barcode-reader:1.1.5'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
}

Before the project was built for Android 10 and was never updated. Now the app is not listed on the Play Store due to the sdk gap. I want to target 31 and above so that I can rebuild the app and publish it.

在此之前,该项目是为Android 10构建的,从未更新过。现在,由于SDK的差距,该应用程序没有在Play商店中列出。我想目标31及以上,这样我就可以重建应用程序并发布它。


How can I resolve this dependency issue? Please let me know.

我如何解决此依赖关系问题?请让我知道。


更多回答
优秀答案推荐

It is better to use this library.
For easier use, be sure to clone the example and check it.

最好是用这个图书馆。为了更方便使用,请务必克隆并检查该示例。


barcode scanner

条形码扫描仪


更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com