机器人在那里的System.loadLibrary加载文件 [英] android where System.loadLibrary loads files
问题描述
在网络上的一些文章告诉我,的System.loadLibrary()
将在 /数据/数据/ {应用程序包} 加载文件code>目录。我不知道这个数字的变动对每个供应商实现或解决吗?
Some articles on the web tell me that System.loadLibrary()
will load files in /data/data/{app package}
directory. I wonder if this varies on each vendor implementation or fixed ?
推荐答案
这是最终达到厂商定义的文件系统/文件系统布局。所以它可能是在不同的地方。如果没有定制的定义,那么库将在 /data/data/your.package.name/lib
。
It is ultimately up to the vendor to define the filesystem / filesystem layout. So it might be in a different place. If there is no customized definition then the libraries will be in /data/data/your.package.name/lib
.
在情况下,它是在不同的目录,然后的System.loadLibrary
就知道这一点,从那个地方加载库。
In case it is in a different directory then System.loadLibrary
will know that and load the library from that place.
这篇关于机器人在那里的System.loadLibrary加载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!