android - 如何创建与 <uses-library> 元素一起使用的共享库

标签 android shared-libraries

是否有创建共享库的例子被引用here

However, some packages reside in their own libraries. If your application uses code from any of these packages, it must explicitly asked to be linked against them. The manifest must contain a separate element to name each of the libraries. (The library name can be found in the documentation for the package.)

here

Specifies a shared library that the application must be linked against. This element tells the system to include the library's code in the class loader for the package.

最佳答案

这是一个例子http://developer.android.com/resources/tutorials/views/hello-mapview.html这是我所知道的唯一使用它的东西。

关于android - 如何创建与 <uses-library> 元素一起使用的共享库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4697799/

相关文章:

android - 如何强制 Android Studio 使用更新的 NDK 库进行构建,而无需清理和构建整个项目?

c++ - 错误: ‘void*’ is not a pointer-to-object type error while dynamically opening multiple shared libraries

java - libjvm.so : to link or not to link?

linux - 在 Ubuntu 18 中使用 Ubuntu 16 的共享库

Android Market - 此应用程序可供 0 多个设备使用?

java - 为什么 java/android 需要在 XML 元素的开头有一个空格来解析它?

java - Android登录远程MySQL数据库鉴权

java - 宽度和高度为 match_parent 的 Recyclerview 返回固定大小错误

android - 在 openGl android(Wear) 中绘制基于图像的纹理

c - 符号链接(symbolic link)奇怪的问题