WARNING: Linker: libvc1dec_sa.ca7.so has text movement. This is a waste of memory and a security risk. Please correct

I am writing this Android application and it all suddenly does not start. Well then, but then say:

[Your application] closed unexpectedly

The strange thing is that there are no error messages in logcat. The only accomplice I've seen is the following:

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

So, I did a few searches and came across this:

mylib.so has text permutations. This is a waste of memory and a security risk. Fix

but it was about NDK, which I do not use. Therefore, I have no idea what the error message is and what lbvc1dec_sa.ca7.so . So how can I fix this? Where is the problem?

+7
android
source share
3 answers

This work for me: change build.gradle script to a lower version due to the android studio you are working with

initial:

 defaultConfig { applicationId "com.android.imageloadingdemo" minSdkVersion 21 targetSdkVersion 22 versionCode 1 versionName "1.0" } 

after:

 defaultConfig { applicationId "com.android.imageloadingdemo" minSdkVersion 13 targetSdkVersion 21 versionCode 1 versionName "1.0" } 
+2
source share

One of the possible reasons may be the minimum sdk version used by your application, more than the sdk OS version of your device.

Thus, your application is minimally suitable for an sdk version less than or equal to the os sdk version of your device.

0
source share
 Waiting for device. Target device: lenovo-lenovo_a328-L7DEKZVWS8QSLV9T Uploading file local path: C:\Users\vishal\AndroidStudioProjects\MyApplication3\app\build\outputs\apk\app-debug.apk ======================================================================== remote path: /data/local/tmp/com.example.vishal.myapplication ------------------------------------------------ Installing com.example.vishal.myapplication DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.vishal.myapplication" WARNING: linker: libvc1dec_sa.ca7.so has text relocations. This is wasting memory and is a security risk. Please fix. WARNING: linker: libvc1dec_sa.ca7.so has text relocations. This is wasting memory and is a security risk. Please fix. pkg: /data/local/tmp/com.example.vishal.myapplication Failure [INSTALL_FAILED_OLDER_SDK] 

I ran into the same problem, but finally I solved a solution that works for me after changing

pkg: /data/local/tmp/com.example.vishal.myapplicationpath my project from C:\Users\vishal\AndroidStudioProjects to F:\drive

so that it is finally executed.

0
source share

All Articles