什么是" Android的私人图书馆"夹在Eclipse?夹在、私人、图书馆、QUOT

2023-09-06 01:48:45 作者:跑调的情歌

我最初以为是专门为像支持库官方库。然而,任何时候我添加使用添加到构建路径菜单项自定义JAR,它会自动在两个引用的库和Android的私人图书馆出现了。其中之一是多余的,因为在构建时输出两个没有意义的。此外,Android的私人图书馆不能修改,所以我不能(容易)添加的Java文档或源路径。更何况它只是似乎错了一个自定义的JAR是Android的私人图书馆。

I initially thought it was exclusively for official libraries like the support library. However any time I add a custom JAR using the "Add to build path" menu item, it automatically shows up in both "Referenced Libraries" and "Android Private Libraries". One of these is redundant since there is no point in exporting both at build time. Additionally, "Android Private Libraries" cannot be modified so I can't (easily) add java doc or source paths. Not to mention it just seems wrong that a custom JAR is in "Android Private Libraries".

我不能删除Android的私人图书馆项只使用引用的库无论是。

I cannot delete the entry from "Android Private Libraries" to use only "Referenced Libraries" either.

推荐答案

在我来说,我随时添加库libs文件夹。

In my case i always add libraries to libs folder.

据我的理解这就是它的假设是对的方式。 Android的私人图书馆文件夹中引用这些罐子在libs文件夹。在 Android的私人图书馆是创建APK时(可能是在对你的java code转换成DEX文件)中使用。

According to my understanding thats the way its suppose to be. Android Private Library folder references these jars in libs folder. The Android Private Library is used during the creation of apk (probably during the conversion of your java code into dex file).