Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Tutorial AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error filter_list
Author
Message
AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #1
In The Name OF Allah
Al-Salam Alekum

[Image: android-studio.jpg]

So, I was updating and then this error came up:
Code:
ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'

After updating my Android Studio to latest version... So After 30 minutes of searches and trying different type of solutions I could figure out how to solve???!!

1- Make sure gradle button Toggle Offline Mode are disabled. IF not worked try step two
2- Shutdown Android Studio then delete .gradle folder content then open android studio again
On windows: C:\Users\Usernamel\.gradle
On Linux: ./gradle

Enjoy Smile
Wa Salam Alekum
Die  But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
[Image: p_237m2jx1.png]
Click for Free VPN

[+] 1 user Likes Mr.Kurd's post
Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #2
A job very well done Indeed.

It's not something that's blatantly obvious, so how did you come up with the solutions?
[Image: AD83g1A.png]

Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #3
(05-29-2020, 08:14 AM)mothered Wrote: A job very well done Indeed.

It's not something that's blatantly obvious, so how did you come up with the solutions?

Yep, Something very unclear. Most of resource saying it will apper if the button enabled. but in my case it doen't work...

Gradle with the update of Android Studio also upgraded to the latest version and it keeps cache and old dependencies inside .gradle folder. Deleting this folder will force gradle to update dependencies and retrive it from net.
Die  But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
[Image: p_237m2jx1.png]
Click for Free VPN

Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #4
(05-29-2020, 08:30 AM)Mr.Kurd Wrote:
(05-29-2020, 08:14 AM)mothered Wrote: A job very well done Indeed.

It's not something that's blatantly obvious, so how did you come up with the solutions?

Yep, Something very unclear. Most of resource saying it will apper if the button enabled. but in my case it doen't work...

Gradle with the update of Android Studio also upgraded to the latest version and it keeps cache and old dependencies inside .gradle folder. Deleting this folder will force gradle to update dependencies and retrive it from net.
Upon reading the above, It makes perfect sense.

It's certainly not a straightforward nor a simplistic process, so I'm amazed as to how you managed to figure It out. Without question, It will help those who're experiencing similar Issues.

Good work.
[Image: AD83g1A.png]

[+] 1 user Likes mothered's post
Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #5
(05-29-2020, 10:29 AM)mothered Wrote:
(05-29-2020, 08:30 AM)Mr.Kurd Wrote:
(05-29-2020, 08:14 AM)mothered Wrote: A job very well done Indeed.

It's not something that's blatantly obvious, so how did you come up with the solutions?

Yep, Something very unclear. Most of resource saying it will apper if the button enabled. but in my case it doen't work...

Gradle with the update of Android Studio also upgraded to the latest version and it keeps cache and old dependencies inside .gradle folder. Deleting this folder will force gradle to update dependencies and retrive it from net.
Upon reading the above, It makes perfect sense.

It's certainly not a straightforward nor a simplistic process, so I'm amazed as to how you managed to figure It out. Without question, It will help those who're experiencing similar Issues.

Good work.

Thank you mothered 🙂
Die  But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
[Image: p_237m2jx1.png]
Click for Free VPN

[+] 1 user Likes Mr.Kurd's post
Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #6
This actually saves you effort rather then resolving the dependencies!
I am experienced with maven and spring env, this has helped me countless times

Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #7
(06-27-2020, 10:02 AM)ritiqxda Wrote: This actually saves you effort rather then resolving the dependencies!
I am experienced with maven and spring env, this has helped me countless times

What helped you out? and yeah its likely saving time than going through all dependencies.
Die  But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
[Image: p_237m2jx1.png]
Click for Free VPN

Reply

RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error #8
(06-27-2020, 10:41 PM)Mr.Kurd Wrote:
(06-27-2020, 10:02 AM)ritiqxda Wrote: This actually saves you effort rather then resolving the dependencies!
I am experienced with maven and spring env, this has helped me countless times

What helped you out? and yeah its likely saving time than going through all dependencies.
When you have a Java Project which uses maven as a build tool, if you face any issues revolving any dependencies conflict (if in terms of versions or other pom related issues , they should be first fixed in pom) basically I clear the .m2 folder and do a mvn clean install to rebuild.

Reply







Users browsing this thread: 1 Guest(s)