Reputation: 7579
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.
Upvotes: 53
Views: 40682
Reputation: 303
I was getting this error because I was trying to install an APK with minSdkVersion set higher than the device supported.
Upvotes: 10
Reputation: 53
There may be so many reasons behind this error, one of them was what I was getting, but then this error was solved.
check while creating emulator, it is 'compatible' or not? on Emulator selection screen [see for last column].
if not compatible, then select 'target sdk' as the highest version by editing existing 'Emulator' [as it should be greater than min sdk].
Upvotes: 0
Reputation: 151
I had the same error and i fixed it by removing other versions of the app installed on the device.
Upvotes: 5
Reputation: 40397
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.
Upvotes: 29