Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目挡下了后无法同步 #12

Open
IOCloudFly opened this issue Mar 20, 2019 · 1 comment
Open

项目挡下了后无法同步 #12

IOCloudFly opened this issue Mar 20, 2019 · 1 comment

Comments

@IOCloudFly
Copy link

一直没法运行
com.novoda.gradle.release.AndroidLibrary$LibraryUsage.getDependencyConstraints()Ljava/util/Set;

@IOCloudFly
Copy link
Author

好了,需要一下步骤
Cause: com.novoda.gradle.release.AndroidLibrary$LibraryUsage.getDependencyConstraints()Ljava/util/Set;
解决方案:1.修改gradle/wrapper/ gradle-wrapper.properties 版本号 我先前是4.6.改为4.4. distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.

升级bintray 插件版本 。先前是0.5 改为0.8 classpath 'com.novoda:bintray-release:0.8.0'
3.降级gradle 版本。 显示是3.2.1 改为 3.0.3 classpath 'com.android.tools.build:gradle:3.0.1'

最后会提示你同步工程sync build 。。。。。 点击一下就ok 了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant