Ionic 4 Could not determine the dependencies of task'com.google.playservices'

I am trying to run my application natively after installing the GooglePlus in the application, however, this is turning into an Inception of errors and frustration. I have been following the rabbit of whole, and after downgrading Cordova to 6.4.0 because it doesn’t support 7.0.0, because of an SDK not specified error I am now getting the error:

* What went wrong:
Could not determine the dependencies of task ':com.google.playservices:google-play-services_lib:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':com.google.playservices:google-play-services_lib:debugCompileClasspath'.
   > Could not resolve project :CordovaLib.
     Required by:
         project :com.google.playservices:google-play-services_lib
      > Project :com.google.playservices:google-play-services_lib declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project :CordovaLib.

I have no idea where this CordovaLib is so I am assuming it is the package itself?

figured it out, old posts were leading me down a rabbit hole.

@ctfrancia, what did you figure out? I am facing the same problem… and also going into a rabbit hole…

Actually now I can’t think what I did, but, I think the error was that there have been a lot of updates. So what I would makes sure is that cordova(v. 9) and ionic(4.10) are updated to the most current versions. If they are then remove node modules and re install them and try again.