Hello,
We are getting an error while trying to build an Ionic1 project using Ionic Pro. Any hint would be very appreciated.
The main error is:
Could not get unknown property ‘PLAY_SERVICES_VERSION’ for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Logs:
Preparing "Install Android SDK Platform 25".
"Install Android SDK Platform 25" ready.
Finishing "Install Android SDK Platform 25"
Installing Android SDK Platform 25 in /opt/android-sdk/platforms/android-25
"Install Android SDK Platform 25" complete.
FAILURE: Build failed with an exception.
* Where:
Build file '/usr/src/app/platforms/android/build.gradle' line: 253
* What went wrong:
A problem occurred evaluating root project 'android'.
> Could not get unknown property 'PLAY_SERVICES_VERSION' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 23.83 secs
Error: /usr/src/app/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Thank you!