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

This dependency does't work correctly while I synced it with Gradle #16

Closed
anasq66 opened this issue Jul 24, 2016 · 5 comments
Closed

Comments

@anasq66
Copy link

anasq66 commented Jul 24, 2016

Please let me know if the version number of Fabric View has been changed or not as I tried the -snapshot and its doenst work nor compiled to see that package.

Many Thanks

@antwankakki
Copy link
Owner

Can you please add more details to your problem? I will be coming back to work on this more often and i just tried to create a new project and followed the steps on the github readme, it worked

@BrennanMcDonald
Copy link

Adding compile 'com.github.antwankakki:FabricView:-SNAPSHOT' to the build gradle threw
Failed to resolve: com.github.antwankakki:FabricView:-SNAPSHOT

Thats all I got from the Gradle sync errors

@shokri-navid
Copy link

shokri-navid commented Dec 10, 2016

According to jitpack.io documentation I use

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

and then:

dependencies {
    compile 'com.github.antwankakki:FabricView:-SNAPSHOT'
}

this works!!!! but some time android studio cannot build gradle because of cannot resolve dependancies

@langsmith
Copy link

langsmith commented Dec 28, 2016

I'm getting the same gradle sync error problem as others like @BrennanMcDonald :(

Any thoughts @antwankakki ?

@antwankakki
Copy link
Owner

Sorry yall, I'm back to work on the project :)

Looks like the issue could come from two places, either you placed the maven { url "https://jitpack.io" }
in the wrong place or you were using the wrong dependencies tag line. in your project build.gradle, put this

allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

in your Module's build.gradle put this:
compile 'com.github.antwankakki:FabricView:latest'

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

5 participants