Hi,
I am using Applovin Max on my project (There are nearly 20 ad networks.). When the new update comes, I delete resolved libraries and I run Android Force Resolve. It takes too long and sometimes not complete! This time, I waited for 3-4 hours, still not completed.
Here are some information about the project and what I did:
-
My computer is IMac.
-
I tried delete External Dependency Manager and reimport it.
-
“Custom Main Manifest” and “Custom Gradle Properties Template” are enabled at publishing settings. (Others disabled).
-
Firebase and Facebook sdk installed.
-
I tried delete myself aar and jar files from Plugins/Android folder.
It’s really very annoying. I am open to any help and suggestions.
ps. sorry for language.
So, I found a very similar issue on StackOverflow; hopefully, it helps you solve your problem. In essence, you have to make sure of 3 main things:
- Make sure you're using the latest stable version
- Make sure your gradle is in build.gradle
- Change your jcenter() to mavenCentral()
You can find the detailed answer in the StackOverflow thread here: Android build gradle is too slow (Dependency Resolution) - Stack Overflow
(Thanks for answer).
I found solution. I’ll post it here, maybe it will be useful to someone else:
-
I removed all networks.
-
I added them one by one and try resolve.
-
In the end, it did not resolve on one of them. (HyprMX ad network).
So, I didn’t think it was due to networks as it didn’t give an error message. It’s working now…