在部署Android应用程序上libdvm.so安全警告注意应用程序、注意、安全、Android

2023-09-12 06:23:05 作者:生活让你醉了

有没有人见过这个?

ActivityManager:警告:连接器:libdvm.so有文本重定位。这是浪费内存,是一个安全隐患。请修复。

ActivityManager: WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.

这会发生,因为我正在尝试部署一个应用程序到我的设备。谷歌似乎并没有帮助在这一点上。

This occurs as I'm trying to deploy an app to my device. Google doesn't seem to help at this point.

推荐答案

这是你自己的JNI库或本地可执行的解决办法是升级到NDK R8C或更高版本作为在讨论:

Were this your own jni library or native executable the solution would be to update to ndk r8c or later as discussed at:

mylib.so有文本重定位。这是浪费内存,是一个安全隐患。请修正

,以得到一种用于修复https://$c$c.google.com/p/android/issues/detail?id=23203

不过,因为这似乎是一个平台的库(特别是Dalvik虚拟机本身),而不是你的东西建,您可以做没有太多的东西。你可能会看到这对每一个活动过程(或者至少运行时)启动,直到你的设备制造商不更新。

However as this appears to be in a platform library (specifically the Dalvik VM itself) rather than something you built, there is not much of anything you can do. You'll likely see this on every Activity process (or at least runtime) startup, until your device manufacturer does an update.

这只是一个警告,但。