weexteam / A-pack-tool-for-Apache-Weex

A pack tool for Android、iOS and H5 plartform of Weex. This tool is a third party work, and is not developed nor maintained by Apache Weex.
Apache License 2.0
611 stars 76 forks source link

maven库连接不上 #211

Closed struts2012 closed 6 years ago

struts2012 commented 6 years ago

classpath 'com.android.tools.build:gradle:2.2.2' classpath 'com.taobao.android:weexplugin-gradle-plugin:1.1.3-SNAPSHOT' 这是1.0.3版生成的android项目里需要的,但是提供的maven库不能访问,旧版库(maven { url 'http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/' })可以访问但是没有提供gradle2.2.2,也没有weexplugin-gradle-plugin。 导致执行weexpack run android是出现以下错误:

What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find com.taobao.android:weexplugin-gradle-plugin:1.1.3-SNAPSHOT.
     Searched in the following locations:
         http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/maven-metadata.xml
         http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.pom
         http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.jar
         https://repo1.maven.org/maven2/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/maven-metadata.xml
         https://repo1.maven.org/maven2/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.pom
         https://repo1.maven.org/maven2/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.jar
         https://jcenter.bintray.com/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/maven-metadata.xml
         https://jcenter.bintray.com/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.pom
         https://jcenter.bintray.com/com/taobao/android/weexplugin-gradle-plugin/1.1.3-SNAPSHOT/weexplugin-gradle-plugin-1.1.3-SNAPSHOT.jar
     Required by:
         :android:unspecified

请问有办法解决吗? 大家用weex都能成功run吗?怎么做的能不能给个地址学习一下。

gh-ray commented 6 years ago

@struts2012 解决了不? 也是卡这了!-_-

HirahKong commented 6 years ago

同问题,好像是阿里的私库,外网访问不了。

struts2012 commented 6 years ago

@GITHUB-GAGE 没解决

Wushq commented 6 years ago

同问,卡这里过不去,生成的好像用了阿里的私库

evil-alex commented 6 years ago

同问,有解决的方案没

gh-ray commented 6 years ago

找了好些资料,还是没找到解决办法

zht110227 commented 6 years ago

同样是这个问题,找个一个旧版本的android模版复制过去,勉强可以跑起来,不使用classpath 'com.taobao.android:weexplugin-gradle-plugin:1.1.3-SNAPSHOT' 依赖项。 服了,为什么外网不发布这个包那,找了ailiyun上面所有的仓库,全部都没有这个包

misakuo commented 6 years ago

https://bintray.com/alibabaweex/maven