我在我的属性文件中有这个:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=Google Inc.:Google APIs:8
android.library.reference.1=..\\library
android.library.reference.3=../../../../../android/extras/google/play_licensing/library
android.library.reference.2=../downloader_library
我的Google库位于c:\ android,但由于某种原因,我在尝试使用ant构建时遇到此错误:
BUILD FAILED
c:\android\tools\ant\build.xml:577: ../../../adt-bundle-windows-x86/sdk/extras/g
oogle/play_licensing/licencing_library resolve to a path with no project.propert
ies file for project C:\Joeys fun projects\ags\otgdy\OtGDY_v100\downloader_libra
ry
Total time: 1 second
有什么想法?
答案 0 :(得分:0)
如果使用android sdk之外的任何其他开发人员,则必须通过命令行安装ANT构建工具
1)下载apache ANT插件 - ANT
2)解压缩
3)打开sdk并添加导入插件的路径
如果使用android sdk,请访问此处获取有关如何更新ANT插件的文档:developer android
可能是你需要为你添加sdk的路径〜/ .profile如果在mac上,Windows 7将是你的环境路径
您是否正确设置了工作区?构建输出向我表明设置缺少模块或插件。您可以尝试尽可能多地更新并检查文档中是否存在您可能缺少的任何关键插件。