0Day Forums
AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - Printable Version

+- 0Day Forums (https://zeroday.vip)
+-- Forum: Coding (https://zeroday.vip/Forum-Coding)
+--- Forum: Java (https://zeroday.vip/Forum-Java)
+--- Thread: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error (/Thread-AndroidSt-ArtifactResolveException-Could-not-resolve-all-artifacts-for-conf-error)



AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - nishiki699962 - 05-29-2020

In The Name OF Allah
Al-Salam Alekum
[Image: android-studio.jpg]
So, I was updating and then this error came up:
Hidden Content

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



RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - merrillhr - 05-29-2020

A job very well done Indeed.

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


RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - eluded232900 - 05-29-2020

Quote:(05-29-2020, 08:14 AM)mothered Wrote:

[To see links please register here]

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.


RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - duthie96 - 05-29-2020

Quote:(05-29-2020, 08:30 AM)Mr.Kurd Wrote:

[To see links please register here]

Quote: (05-29-2020, 08:14 AM)mothered Wrote:

[To see links please register here]

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.


RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - anhedonia205780 - 05-29-2020

Quote:(05-29-2020, 10:29 AM)mothered Wrote:

[To see links please register here]

Quote: (05-29-2020, 08:30 AM)Mr.Kurd Wrote:

[To see links please register here]

Quote: (05-29-2020, 08:14 AM)mothered Wrote:

[To see links please register here]

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 ?


RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - Mrridleydjoymmgcr - 06-27-2020

This actually saves you effort rather then resolving the dependencies!
I am experienced with maven and spring env, this has helped me countless times


RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - ibo62 - 06-27-2020

Quote:(06-27-2020, 10:02 AM)ritiqxda Wrote:

[To see links please register here]

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.


RE: AndroidSt-ArtifactResolveException: Could not resolve all artifacts for conf... error - Sirjhool788 - 06-28-2020

Quote:(06-27-2020, 10:41 PM)Mr.Kurd Wrote:

[To see links please register here]

Quote: (06-27-2020, 10:02 AM)ritiqxda Wrote:

[To see links please register here]

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.