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.
The most common security concern for an application on Android is whether the data that you save on the device is accessible to other apps.
WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. · Issue #20795 · flutter/flutter · GitHub Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Before deploying your app, make sure that all libraries, SDKs, and other dependencies are up to date: For first-party dependencies, such as the Android SDK, use the updating tools found in Android Studio, such as the SDK Manager .
For developers experienced with VM programming in other environments, there are two broad issues that may be different about writing apps for Android: Some virtual machines, such as the JVM or .NET runtime, act as a security boundary, isolating code from the underlying operating system capabilities.
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.
I was getting this error because I was trying to install an APK with minSdkVersion set higher than the device supported.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With