Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Eclipse(Android 开发)中,您可以转到项目属性,然后:
在第一种情况下,您可以在“库项目”部分下看到 JAR 文件;在第二种情况下 - “引用库”下的同一个 jar。
这两种方法有什么区别?
如果一个项目是一个 Android 库项目并包含 Android 资源,则这些资源将提供给包含它作为库项目的应用程序。
如果 jar 作为引用的 jar 包含在内,则您无权访问资源。