-
Notifications
You must be signed in to change notification settings - Fork 45
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
ERROR: Failed to resolve: com.github.AsynctaskCoffee:VideoLayout:1.0 #3
Comments
Nevermind, it needed to be in the bottom repositories // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript {
} allprojects {
} task clean(type: Delete) { |
I think you solved your issue without my help :) I am so sorry for not replying it earlier. Enjoy :) |
I have the same problem and I don't understand what 'in the bottom repositories' means. |
Add maven { url 'https://jitpack.io' } into gradle and make sure you have internet connection while sync |
It is not working. I don't have much experience with gradle. I have build.gradle (project):
Then, in the build.gradle (module) file i have:
I also had to change settings.gradle file from RepositoriesMode.FAIL_ON_PROJECT_REPOS to RepositoriesMode.PREFER_SETTINGS It is syncing and building ok but It is not detecting the dependency: |
I think you missed buildscript -> repositories part.
try this and let me know I am here for a while lets fix this issue :) |
First of all, thank you very much for your help. Well, it is not there at the top because I deleted it a while ago trying things, but yes, that was my first approach. I just replaced all the file with that code you just posted but it didn't fix it. Any ideas? |
Did you activate offline grade ? Check; If yes you have to disable it. |
Ok I fixed it (editing) |
Can you send me the gradle files via mail ? Or if your project public could you send me the access ? |
tu est parfait 🚀 🎸 Lets share it for help to other I also wonder the solution 🦖 |
Then I'm closing this issue in your honor. Happy coding. |
Ok I think I went too quick... For a moment the error disapeared but It was not fixed just reloading I'm sorry 😢 I will keep trying and see what happend exactly. |
Lets send me the code via GitHub I will check is there any gradle problem. |
Ok, I just created a repo The layout is in activity_login.xml |
and
Enjoy ✨ |
As I saw there is a lot of typos in ur gradle. I hope it works 👓 |
You are welcome my friend 🤩 |
I added your library to gradle
implementation 'com.github.AsynctaskCoffee:VideoLayout:1.0'
and in build gradle
buildscript {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
and got this error
ERROR: Failed to resolve: com.github.AsynctaskCoffee:VideoLayout:1.0
The text was updated successfully, but these errors were encountered: