yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
1.01k stars 182 forks source link

error java.io.IOException: Error running exec() #49

Closed xibr closed 4 years ago

xibr commented 4 years ago

hi, I have issue on android 5 api level 21, but on android 5.1 api level 22 is work fine, I don't have any idea about this error, can someone help me?

java.io.IOException: Error running exec(). Command: [/mnt/asec/com.example.youtubedl/lib/arm/libpython.bin.so, /data/data/com.example.youtubedl/no_backup/youtubedl-android/youtube-dl/__main__.py, --dump-json, --no-cache-dir, https://youtu.be/q8cj07r0dws] Working Directory: null Environment: [ANDROID_ROOT=/system, KNOX_STORAGE=/data/knox/ext_sdcard, EMULATED_STORAGE_SOURCE=/mnt/shell/emulated, LOOP_MOUNTPOINT=/mnt/obb, LD_PRELOAD=libsigchain.so, MC_AUTH_TOKEN_PATH=/efs, ANDROID_BOOTLOGO=1, EMULATED_STORAGE_TARGET=/storage/emulated, LD_LIBRARY_PATH=/data/data/com.example.youtubedl/no_backup/youtubedl-android/packages/python/usr/lib:/data/data/com.example.youtubedl/no_backup/youtubedl-android/packages/ffmpeg/usr/lib, EXTERNAL_STORAGE=/storage/emulated/legacy, SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar, PYTHONHOME=/data/data/com.example.youtubedl/no_backup/youtubedl-android/packages/python/usr, ANDROID_SOCKET_zygote=9, PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/mnt/asec/com.example.youtubedl-1/lib/arm, ANDROID_DATA=/data, ANDROID_ASSETS=/system/app, ASEC_MOUNTPOINT=/mnt/asec, BOOTCLASSPATH=/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar:/system/framework/timakeystore.jar:/system/framework/fipstimakeystore.jar:/system/framework/commonimsinterface.jar:/system/framework/imsmanager.jar:/system/framework/secEmailBC.jar:/system/framework/secocsp.jar:/system/framework/smartbondingservice.jar:/system/framework/knoxvpnuidtag.jar:/system/framework/qcmediaplayer.jar:/system/framework/oem-services.jar:/system/framework/org.codeaurora.Performance.jar:/system/framework/tcmiface.jar, ANDROID_PROPERTY_WORKSPACE=8,0, SSL_CERT_FILE=/data/data/com.example.youtubedl/no_backup/youtubedl-android/packages/python/usr/etc/tls/cert.pem, SECONDARY_STORAGE=/storage/extSdCard, ANDROID_STORAGE=/storage]

xibr commented 4 years ago

I'm fixed this issue by removing this line from manifest file android:installLocation="preferExternal" from my package.