: java.io.IOException: Cannot run program "su": error=13, Permission denied
W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
W/System.err: at java.lang.Runtime.exec(Runtime.java:692)
W/System.err: at java.lang.Runtime.exec(Runtime.java:525)
W/System.err: at java.lang.Runtime.exec(Runtime.java:422)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ShellUtils.execCommand(ShellUtils.java:135)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ShellUtils.execCommand(ShellUtils.java:93)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ShellUtils.checkRootPermission(ShellUtils.java:44)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ApkInstallUtils.install(ApkInstallUtils.java:65)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ApkInstallUtils.install(ApkInstallUtils.java:52)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.listener.impl.DefaultInstallListener.onInstallApk(DefaultInstallListener.java:31)
W/System.err: at freight.zengke.com.freight.widegt.appupdate._XUpdate.onInstallApk(_XUpdate.java:144)
W/System.err: at freight.zengke.com.freight.widegt.appupdate._XUpdate.startInstallApk(_XUpdate.java:126)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.service.DownloadService$FileDownloadCallBack.onSuccess(DownloadService.java:336)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.OKHttpUpdateHttpService$3.onResponse(OKHttpUpdateHttpService.java:162)
W/System.err: at freight.zengke.com.freight.widegt.appupdate.OKHttpUpdateHttpService$3.onResponse(OKHttpUpdateHttpService.java:149)
W/System.err: at com.zhy.http.okhttp.OkHttpUtils$5.run(OkHttpUtils.java:256)
W/System.err: at android.os.Handler.handleCallback(Handler.java:808)
W/System.err: at android.os.Handler.dispatchMessage(Handler.java:101)
W/System.err: at android.os.Looper.loop(Looper.java:166)
W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7529)
W/System.err: at java.lang.reflect.Method.invoke(Native Method)
W/System.err: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
W/System.err: Caused by: java.io.IOException: error=13, Permission denied
W/System.err: at java.lang.UNIXProcess.forkAndExec(Native Method)
W/System.err: at java.lang.UNIXProcess.(UNIXProcess.java:133)
W/System.err: at java.lang.ProcessImpl.start(ProcessImpl.java:128)
W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
W/System.err: ... 22 more
: java.io.IOException: Cannot run program "su": error=13, Permission denied W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) W/System.err: at java.lang.Runtime.exec(Runtime.java:692) W/System.err: at java.lang.Runtime.exec(Runtime.java:525) W/System.err: at java.lang.Runtime.exec(Runtime.java:422) W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ShellUtils.execCommand(ShellUtils.java:135) W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ShellUtils.execCommand(ShellUtils.java:93) W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ShellUtils.checkRootPermission(ShellUtils.java:44) W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ApkInstallUtils.install(ApkInstallUtils.java:65) W/System.err: at freight.zengke.com.freight.widegt.appupdate.utils.ApkInstallUtils.install(ApkInstallUtils.java:52) W/System.err: at freight.zengke.com.freight.widegt.appupdate.listener.impl.DefaultInstallListener.onInstallApk(DefaultInstallListener.java:31) W/System.err: at freight.zengke.com.freight.widegt.appupdate._XUpdate.onInstallApk(_XUpdate.java:144) W/System.err: at freight.zengke.com.freight.widegt.appupdate._XUpdate.startInstallApk(_XUpdate.java:126) W/System.err: at freight.zengke.com.freight.widegt.appupdate.service.DownloadService$FileDownloadCallBack.onSuccess(DownloadService.java:336) W/System.err: at freight.zengke.com.freight.widegt.appupdate.OKHttpUpdateHttpService$3.onResponse(OKHttpUpdateHttpService.java:162) W/System.err: at freight.zengke.com.freight.widegt.appupdate.OKHttpUpdateHttpService$3.onResponse(OKHttpUpdateHttpService.java:149) W/System.err: at com.zhy.http.okhttp.OkHttpUtils$5.run(OkHttpUtils.java:256) W/System.err: at android.os.Handler.handleCallback(Handler.java:808) W/System.err: at android.os.Handler.dispatchMessage(Handler.java:101) W/System.err: at android.os.Looper.loop(Looper.java:166) W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7529) W/System.err: at java.lang.reflect.Method.invoke(Native Method) W/System.err: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921) W/System.err: Caused by: java.io.IOException: error=13, Permission denied W/System.err: at java.lang.UNIXProcess.forkAndExec(Native Method) W/System.err: at java.lang.UNIXProcess.(UNIXProcess.java:133)
W/System.err: at java.lang.ProcessImpl.start(ProcessImpl.java:128)
W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
W/System.err: ... 22 more