Ionic pro package failed after successful deploy

Was able to build as well but did the following:

  1. Closed Android Studio also had VS closed.
  2. Removed the Android platform.
  3. Add the Android platform again.
  4. Before running any builds open up the \platforms\android\build.gradle and edit the repositories like @netexpo recommended, and save the file.
   repositories {
        mavenCentral()
        maven {
            url "https://maven.google.com"
        }
        jcenter()
    }
  1. Open up your project in Android Studio waited for studio do sync the gradle file, it downloaded a couple of items. After the sync process was completed the file had been build.