Error: only independent executable files (PIE) are supported

When I execute the bin file in my code, Android L 5.0 blocks the execution of this file with the following error

Error: only standalone executable files (PIE) are supported

My executable files are FFmpeg converter and Sox converter

I moved these files from the raw folder to /data/data/com.mypackage/app_bin and called

Runtime.getRuntime().exec("/data/data/com.mypackage/app_bin/ffmpeg {commands}")

Can someone help me solve this problem?

+6
source share

Source: https://habr.com/ru/post/978318/


All Articles