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

import fail? #8

Closed
baitouwei opened this issue Apr 20, 2015 · 1 comment
Closed

import fail? #8

baitouwei opened this issue Apr 20, 2015 · 1 comment

Comments

@baitouwei
Copy link

hi,i read the readme and import like this.

repositories {
    jcenter()
}

dependencies {
    compile 'com.yqritc:recyclerview-flexibledivider:1.2.3'
}

but it always fail like this.

Error:(40, 13) Failed to resolve: com.yqritc:recyclerview-flexibledivider:1.2.3
@yqritc
Copy link
Owner

yqritc commented Apr 20, 2015

@baitouwei

mmm....
I re-tried the sample project and it does not return any errors.
Please compare your build.gradle file and sample one.
https://github.com/yqritc/RecyclerView-FlexibleDivider/blob/master/sample/build.gradle

If you can not find any difference, please clone repository and build sample project in your environment.
You may try to change the following line in dependencies to confirm lib file is located at jcenter.
Before

    compile project(':library')

After

    compile 'com.yqritc:recyclerview-flexibledivider:1.2.3'

Hope this helps.

@yqritc yqritc closed this as completed Apr 21, 2015
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