我正在构建一个Phonegap app
使用Visual Studio Tools
for Apache Cordova
。
我正在尝试获取一个本机对话框以将用户带到/启用位置服务,并且我正在使用Request Location Accuracy Plugin
来自HERE的相同。
但是,当我从 中添加该插件时GIT
,出现以下构建错误,并且无法构建项目。
1> FAILURE: Build failed with an exception.
1>
1> * What went wrong:
1> A problem occurred configuring root project 'android'.
1> > Could not resolve all dependencies for configuration ':_debugCompile'.
1> > Could not find any version that matches com.google.android.gms:play-services-location:+.
1> Searched in the following locations:
1> https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/maven-metadata.xml
1> https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/
1> Required by:
1> :android:unspecified
1>
显示按以下语句安装的config.xml
插件存在于config.xml
.
<plugin name="cordova-plugin-request-location-accuracy" version="1.0.1" />
任何帮助将不胜感激。
PS - 我已经Google Play
在SDK Manager
.