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

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

问题描述

有没有人看过这个?


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


这是因为我正在尝试将应用程序部署到我的设备。 Google在这一点上似乎并没有什么帮助。

解决方案

如果这是您自己的jni库或本机可执行文件,更新到ndk r8c或更高版本,如下所述:





,以获取 https://code.google.com/p/android/issues/detail?id=23203



然而,由于这似乎是一个平台库(特别是Dalvik VM本身),而不是您构建的东西,没有什么可以做的任何事情。您可能会在每个活动进程(或至少运行时)启动时看到这一点,直到您的设备制造商进行更新。



这只是一个警告。


Has anyone seen this before?

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.

解决方案

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 has text relocations. This is wasting memory and is a security risk. Please fix

in order to obtain a fix for https://code.google.com/p/android/issues/detail?id=23203

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.

It is only a warning though.

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

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