Problem with google play services


#1

When I created project and I done all below commands:

-  ionic start TestApp blank -a "Test App" -i pl.foo.testapp
-  ionic platform add android
- ionic plugin add cordova-plugin-googleplayservices
- ionic plugin add https://github.com/louisbl/cordova-locationservices
- ionic build 

I get some error

but when I modifed file project.properties from C:\Test\TestApp\platforms\android where I commented one line

cordova.system.library.1=com.google.android.gms:play-services-location:7.5.0

then I can build project no problem.

How should solve this problem to be correct? Becuase I know my solution is temporary


#2

@art_base why do you create another topic for same issue

I already gave you the answer on Cordova-plugin-locationservices - error


#3

It turned out that I have two Android SDK Managers installed on my computer. I made the update in the “Extras” in the SDK that is not used by Ionic. After the update of SDK used by Ionic and after removing the plug-in which shares the Google Play Services, cordova-plugin-googleplayservices (recently it is not needed) the project began to build properly and works well now.

In addition I updated CLI Cordova to 5.1.1 version