How to fix the issue when it comes to build apk?

I am using ionic 3 and when try to build apk I got error as

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
> Could not determine artifacts for
   > Could not get resource ''.
      > Could not HEAD ''.

How it can fix ? Please advise asap



Hi @anespa
I think the issue is related with android dependency.Install the needed dependencies.
The solution is to install Android Support Repository Solution