I've update to the latest SDK(4.0.x), tools(r16) and plugin(16.0.1) for Eclipse. I notice that now nearly all my projects in Eclipse have the library mentioned in this question's title showing as a referenced library in the Libraries tab of the Java build path. This is relatively new, though I'm not sure in which upgrade of the SDK it appeared.
我已经更新到Eclipse的最新SDK(4.0.x),工具(r16)和插件(16.0.1)。我注意到现在几乎我在Eclipse中的所有项目都将此问题标题中提到的库显示为Java构建路径的Libraries选项卡中的引用库。这是相对较新的,但我不确定SDK出现在哪个升级版本中。
It's not causing any problems but I'd quite like to know what its purpose is?
它没有造成任何问题,但我很想知道它的目的是什么?
Interestingly it does not appear in projects which I also build using Ant from the command line. In these projects I send the Ant built binaries to a folder outside the Eclipse workspace. These projects naturally have a build.xml, an ant.properties and a proguard.cfg in the project root. This I suspect has something to do with why the com.android... library isn't in the build path. These projects build perfectly OK when built under Eclipse.
有趣的是,它并没有出现在我也使用命令行中的Ant构建的项目中。在这些项目中,我将Ant构建的二进制文件发送到Eclipse工作区外的文件夹。这些项目自然在项目根目录中有一个build.xml,一个ant.properties和一个proguard.cfg。我怀疑这与com.android ...库不在构建路径中的原因有关。在Eclipse下构建时,这些项目构建完全正常。
None of my projects are library projects.
我的项目都不是图书馆项目。
Update: If I delete it from the Java build path, it appears to have no ill effects, in so far as the app still builds (even under Eclipse) and runs OK.
更新:如果我从Java构建路径中删除它,它似乎没有任何不良影响,只要应用程序仍然构建(即使在Eclipse下)并运行正常。
1 个解决方案
#1
3
If you have any "Android Libraries" set in the Android section of the project then these are for linking in those libraries (the jars that the plugin will build)
如果你在项目的Android部分设置了任何“Android库”,那么这些是用于链接这些库(插件将构建的jar)
#1
3
If you have any "Android Libraries" set in the Android section of the project then these are for linking in those libraries (the jars that the plugin will build)
如果你在项目的Android部分设置了任何“Android库”,那么这些是用于链接这些库(插件将构建的jar)