@Kyrax80 wrote:
Hello, I am getting the following error when compiling for Android 6.3.0:
* What went wrong: A problem occurred configuring root project 'android'. > Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1). Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar
My Ionic info:
cli packages: (C:\Users\Dialogo\AppData\Roaming\npm\node_modules) @ionic/cli-utils : 1.19.3 ionic (Ionic CLI) : 3.20.1 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.1.10 Cordova Platforms : android 6.3.0 Ionic Framework : ionic-angular 3.9.2 System: Node : v8.11.1 npm : 5.6.0 OS : Windows 10 Environment Variables: ANDROID_HOME : not set Misc: backend : pro
I know a possible fix is moving
jcenter()
after therepositories{...}
in thegradle.build
but I don’t like this workarround since it has to be done every time you build a new project.Is there anything that can fix this permanently?
Thanks.
Posts: 2
Participants: 2