I’m new to
Android studio and I have been facing this kind of error when I compile the android project that I bought from codecanyon. What am I missing”?
Could not resolve all dependencies for configuration ‘:app:debugRuntimeClasspath’.
Could not determine artifacts for io.realm:realm-android-library-object-server:4.3.1: No cached version available for offline mode
This is why, because You have enabled using Gradle in offline mode, but there is no cache available there. I hope this will work for you.
Check If you are working in offline mode. If not then please un-check it from below path.
File->Settings->Build,Execution,Deployment->Gradle-> Uncheck Offline Work