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

引用库报错,使用不了 #14

Closed
Leu-Z opened this issue Nov 23, 2017 · 4 comments
Closed

引用库报错,使用不了 #14

Leu-Z opened this issue Nov 23, 2017 · 4 comments

Comments

@Leu-Z
Copy link

Leu-Z commented Nov 23, 2017

在实例代码中build显示以下错误:
Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.classic.common:multiple-status-view:1.4. <a href="openFile:C:/Users/Leu/Desktop/MultipleStatusView-master/app/build.gradle">Open File</a><br><a href="Unable to resolve dependency for &#39;:app@debug/compileClasspath&#39;: Could not resolve com.classic.common:multiple-status-view:1.4.">Show Details</a>
在自己的代码中引用也出了类似的错。
网上搜索之后是这个原因:
http://www.jcodecraeer.com/a/anzhuokaifa/Android_Studio/2017/1026/8646.html
可是其他的库都是可以用的,就这个库不行。

@Leu-Z Leu-Z changed the title 实例代码运行不了,出错 引用库报错,使用不了 Nov 23, 2017
@qyxxjd
Copy link
Owner

qyxxjd commented Nov 23, 2017

你的 Android Studio 版本多少?

@Leu-Z
Copy link
Author

Leu-Z commented Nov 23, 2017

3.0.1

@qyxxjd
Copy link
Owner

qyxxjd commented Nov 23, 2017

wx20171123-181057 2x

切换到本地的 `Gradle` 版本试试

@Leu-Z
Copy link
Author

Leu-Z commented Nov 24, 2017

可以了,引用你的库用3.0新的编译方式implementation 就可以了,暂时还不清楚是什么原因导致的冲突

@qyxxjd qyxxjd closed this as completed Nov 24, 2017
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

2 participants