android - LVL 错误 - 无法在我的项目中引用 LVL

标签 android

我正在遵循 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/

相关文章:

android - 在实时应用程序的后台运行重复任务

java - Android 从链接下载文件

Android map V2 : how to remove north indicator

android - 嵌套 ScrollView 中的 Recyclerview

android - 嵌套相对布局中的 layout_centerVertical 导致 Android P 上的 TextView 定位不正确

java - 分割操作栏底部颜色

android - objectAnimator 在 Android 中显示 fragment 的白色背景

android - 在 gradle android 闭包中定义时,是否必须在 AndroidManifest.xml 中设置 SDKVersion?

android - 父 View 更改大小时,MapBox Android 使布局无效

android - 如何用Java代码解析上传的apk文件?