在部署Android应用程序上libdvm.so安全警告注意 [英] Security warning on libdvm.so noticed while deploying Android apps

查看:299
本文介绍了在部署Android应用程序上libdvm.so安全警告注意的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人见过这个?

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:

<一个href="http://stackoverflow.com/questions/20141538/mylib-so-has-text-relocations-this-is-wasting-memory-and-is-a-security-risk-pl">mylib.so有文本重定位。这是浪费内存,是一个安全隐患。请修正

,以得到一种用于修复<一href="https://$c$c.google.com/p/android/issues/detail?id=23203">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.

这只是一个警告,但。

这篇关于在部署Android应用程序上libdvm.so安全警告注意的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆