wendux / DSBridge-Android

:earth_americas: A modern cross-platform JavaScript bridge, through which you can invoke each other's functions synchronously or asynchronously between JavaScript and native.
3.77k stars 616 forks source link

why did the DSBridge-Android:x5-3.0-SNAPSHOT load fail ? #105

Open shimiso opened 5 years ago

shimiso commented 5 years ago

jitpack.io Report errors: https://jitpack.io/com/github/wendux/DSBridge-Android/x5-3.0-v3.0.0-gc6d5155-23/build.log Git error. Retrying. Git error. Could not find version x5-3.0-v3.0.0-gc6d5155-23 from git describe: c6d5155915

AndroidStudio Report errors: Unable to resolve dependency for ':app@yuechengDebug/compileClasspath': Could not resolve com.github.wendux:DSBridge-Android:x5-3.0-SNAPSHOT. Open File Show Details

Why did the address fail? what's going on.

hhyy1986 commented 5 years ago

同问,我也遇到了这样的问题

EdisonAmazing commented 5 years ago

I have the same problem

fridning commented 5 years ago

同问, "Error:(145, 13) Failed to resolve: com.github.wendux:DSBridge-Android:x5-3.0-SNAPSHOT"

fridning commented 5 years ago

我刚解决了,方案就是下载此项目,将dsbridge项目以module方式引入。(最后记得设定引入包。打开Project Struture。) 有其他方案欢迎交流

fridning commented 5 years ago

jitpack.io Report errors: https://jitpack.io/com/github/wendux/DSBridge-Android/x5-3.0-v3.0.0-gc6d5155-23/build.log Git error. Retrying. Git error. Could not find version x5-3.0-v3.0.0-gc6d5155-23 from git describe: c6d5155

AndroidStudio Report errors: Unable to resolve dependency for ':app@yuechengDebug/compileClasspath': Could not resolve com.github.wendux:DSBridge-Android:x5-3.0-SNAPSHOT. Open File Show Details

Why did the address fail? what's going on.

I just solved it. The solution is to download this project and introduce the dsbridge project as a module. (Last remember to set up the import package. Open Project Struture.) There are other programs that welcome exchanges. English is not high, Google translates

@EdisonAmazing @shimiso

fridning commented 5 years ago

同问,我也遇到了这样的问题

我刚解决了,方案就是下载此项目,将dsbridge项目以module方式引入。(最后记得设定引入包。打开Project Struture。) 有其他方案欢迎交流

同问,我也遇到了这样的问题

我刚解决了,方案就是下载此项目,将dsbridge项目以module方式引入。(最后记得设定引入包。打开Project Struture。) 有其他方案欢迎交流

Yinllo commented 5 years ago

'com.github.wendux:DSBridge-Android:v3.0.0' 可以试下这个

panmin commented 5 years ago

@yinlliang 改成com.github.wendux:DSBridge-Android:v3.0.0之后提示Program type already present: MTT.ThirdAppInfoNew

Yinllo commented 5 years ago

@panmin 是不是与你的其他有冲突了,我这是没有出现任何问题的

LukeMi commented 5 years ago
  1. That’s an error.

That’s all we know.

GG! 真疼

LukeMi commented 5 years ago

作者能否帮忙维护下,一对依赖,就这一个有问题,

LukeMi commented 5 years ago

Could not find com.github.wendux:DSBridge-Android:x5-3.0-SNAPSHOT. Searched in the following locations: file:/D:/Android/Sdk/extras/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml file:/D:/Android/Sdk/extras/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom file:/D:/Android/Sdk/extras/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar file:/D:/Android/Sdk/extras/google/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml file:/D:/Android/Sdk/extras/google/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom file:/D:/Android/Sdk/extras/google/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar file:/D:/Android/Sdk/extras/android/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml file:/D:/Android/Sdk/extras/android/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom file:/D:/Android/Sdk/extras/android/m2repository/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar https://maven.google.com/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml https://maven.google.com/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom https://maven.google.com/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar https://jitpack.io/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml https://jitpack.io/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom https://jitpack.io/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar https://jcenter.bintray.com/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml https://jcenter.bintray.com/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom https://jcenter.bintray.com/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar https://dl.google.com/dl/android/maven2/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/maven-metadata.xml https://dl.google.com/dl/android/maven2/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.pom https://dl.google.com/dl/android/maven2/com/github/wendux/DSBridge-Android/x5-3.0-SNAPSHOT/DSBridge-Android-x5-3.0-SNAPSHOT.jar Required by: project :app

lyloou commented 5 years ago

应该是后面的新提交引起了问题。

解决方法1: 可以用:implementation 'com.github.wendux:DSBridge-Android:c6d5155915' 来代替。 具体参考:https://jitpack.io/#wendux/DSBridge-Android/c6d5155915

解决方法2: 源码集成 https://github.com/wendux/DSBridge-Android/releases/tag/v3.0.0

libq commented 5 years ago

https://github.com/wendux/DSBridge-Android/issues/105#issuecomment-463066214 implementation 'com.github.wendux:DSBridge-Android:c6d5155915' work for me, in this way

linwaiwai commented 5 years ago

https://jitpack.io/com/github/wendux/DSBridge-Android/x5-3.0-c6d5155915-1/DSBridge-Android-x5-3.0-c6d5155915-1.aar

shichaohui commented 5 years ago

上 jitpack.io 搜索了一下,正确的依赖是这样的:

implementation 'com.github.wendux:dsbridge-android:x5-3.0-SNAPSHOT'
cxljs414 commented 5 years ago

上 jitpack.io 搜索了一下,正确的依赖是这样的:

implementation 'com.github.wendux:dsbridge-android:x5-3.0-SNAPSHOT'

还真是

wuao commented 1 year ago

https://jitpack.io/#wendux/dsbridge-android/v3.0.0 地址是这个