I am receiving this error when attempting to sync the gradle in Android Studio. I have made the suggested changes to the settings.gradle and android-level build.gradle files, as well as the changes to the AndroidManifest.xml in the Unity Project.
I did not see the applicationID line to be removed from the unity project build.gradle, or the manifests folder in the ionic build.
Full error: ERROR: Could not find method compile() for arguments [project ':UnityProject'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

I am receiving this error when attempting to sync the gradle in Android Studio. I have made the suggested changes to the settings.gradle and android-level build.gradle files, as well as the changes to the AndroidManifest.xml in the Unity Project.
I did not see the applicationID line to be removed from the unity project build.gradle, or the manifests folder in the ionic build.
Full error: ERROR: Could not find method compile() for arguments [project ':UnityProject'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.