我正在遵循 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.
...
最佳答案
OP:你有没有设法解决你的问题?
我在尝试使用 LVL 时也遇到了这个问题。我还收到此错误:
“目标‘Android 2.1’不支持使用库构建项目。”
谢谢。
已解决: 需要更新 SDK。 “Android 2.1”修订版 1 已安装,修订版 2 是使用库项目所必需的。 http://developer.android.com/guide/developing/eclipse-adt.html#libraryReqts
关于android - LVL 错误 - 无法在我的项目中引用 LVL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3797889/