隐藏的build.xml在谷歌播放服务库中使用谷歌地图V2? [英] Hidden build.xml in google play services library used for google maps v2?

查看:129
本文介绍了隐藏的build.xml在谷歌播放服务库中使用谷歌地图V2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信日食有崩溃的情况下,和奇怪的事情发生了。我重新启动该项目,所做的一切我能想到的从头开始。

I believe eclipse had a case of the crashes and something weird happened. I restarted the project and have done everything I can think of from scratch.

在code和配置文件看起来完美。

The code and config files look perfect.

++我已经更新了通过命令行项目。 ( ./ Android的更新项目--name GPSTest --target 4 --path/家/我/工作区/ GPSTest

++I have updated the project via command line. (./android update project --name GPSTest --target 4 --path "/home/me/workspace/GPSTest")

++然后我去项目的根目录,并使用蚂蚁调试

++I then go to the root of the project and use ant debug

和我得到这个错误:

-build-setup:
[echo] Resolving Build Target for GPSTest...
[gettarget] Project Target:   Google APIs
[gettarget] Vendor:           Google Inc.
[gettarget] Platform Version: 4.2
[gettarget] API level:        17
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for GPSTest...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[echo] ----------
[echo] Building Libraries with 'debug'...

BUILD FAILED
/home/me/android-sdks/tools/ant/build.xml:595: 
Invalid file: /home/me/android-sdks/extras/google/google_play_services/libproject
/google-play-services_lib/build.xml

我不知道这是怎么发生

I have no idea how this happened

推荐答案

尝试在播放服务的lib运行Android的更新项目。

Try running android update project on the play services lib.

除此之外,我会删除google_play_services,并得到从Android SDK管理器的新副本。

Beyond that, I would delete google_play_services and get a fresh copy from the Android SDK manager.

这篇关于隐藏的build.xml在谷歌播放服务库中使用谷歌地图V2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆