我正在关注Android许可文档(http://developer.android.com/guide/publishing/licensing.html),当我到达我将许可项目的引用(在eclipse中)添加到我的项目的步骤时,我在控制台中收到错误(请参阅下面)我的项目没有建立。关于我如何处理这个问题的任何想法?我在谷歌上尝试了几次搜索,但我没有想出任何东西。感谢。
看到错误:
[2010-09-26 05:54:41 - MyApp] ERROR: Unknown option '--auto-add-overlay'
[2010-09-26 05:54:41 - MyApp] Android Asset Packaging Tool
[2010-09-26 05:54:41 - MyApp]
[2010-09-26 05:54:41 - MyApp] Usage:
[2010-09-26 05:54:41 - MyApp] aapt l[ist] [-v] [-a] file.{zip,jar,apk}
[2010-09-26 05:54:41 - MyApp] List contents of Zip-compatible archive.
[2010-09-26 05:54:41 - MyApp]
[2010-09-26 05:54:41 - MyApp] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
[2010-09-26 05:54:41 - MyApp] badging Print the label and icon for the app declared in APK.
[2010-09-26 05:54:41 - MyApp] permissions Print the permissions from the APK.
[2010-09-26 05:54:41 - MyApp] resources Print the resource table from the APK.
[2010-09-26 05:54:41 - MyApp] configurations Print the configurations in the APK.
[2010-09-26 05:54:41 - MyApp] xmltree Print the compiled xmls in the given assets.
[2010-09-26 05:54:41 - MyApp] xmlstrings Print the strings of the given compiled xml assets.
...
答案 0 :(得分:1)
在尝试使用LVL时,我也遇到了这个问题。我另外得到了这个错误:
“目标'Android 2.1'不支持使用库构建项目。”
感谢。
解决: SDK更新是必要的。安装了“Android 2.1”修订版1,并且为了使用库项目,修订版2是必需的。 http://developer.android.com/guide/developing/eclipse-adt.html#libraryReqts