java.io.IOException: Cannot run program "su": error=13, Permission denied 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:983) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:691) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:524) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:421) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at com.quixxi.rootdevice.MainActivity.restartDevice(MainActivity.java:243)

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 4

    Root Android Device Programmatically

    Stack Overflow | 9 months ago | Mujammil Ahamed
    java.io.IOException: Cannot run program "su": error=13, Permission denied 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:983) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:691) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:524) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:421) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at com.quixxi.rootdevice.MainActivity.restartDevice(MainActivity.java:243)
  2. 0

    java.io.IOException: Received authentication challenge is null in ICS 4.0.3

    Stack Overflow | 5 years ago | Haris
    java.io.IOException: Received authentication challenge is null 10-17 14:54:13.284: W/System.err(868): at libcore.net.http.HttpURLConnectionImpl.processAuthHeader(HttpURLConnectionImpl.java:397) 10-17 14:54:13.284: W/System.err(868): at libcore.net.http.HttpURLConnectionImpl.processResponseHeaders(HttpURLConnectionImpl.java:345) 10-17 14:54:13.304: W/System.err(868): at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:276) 10-17 14:54:13.324: W/System.err(868): at libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:479) 10-17 14:54:13.324: W/System.err(868): at com.remote.synchronizer.haris.CustomHttpClient.executeGet(CustomHttpClient.java:131) 10-17 14:54:13.354: W/System.err(868): at com.remote.synchronizer.haris.OptionsActivity$1$3$1.run(OptionsActivity.java:87) 10-17 14:54:13.364: W/System.err(868): at android.os.Handler.handleCallback(Handler.java:605) 10-17 14:54:13.384: W/System.err(868): at android.os.Handler.dispatchMessage(Handler.java:92) 10-17 14:54:13.384: W/System.err(868): at android.os.Looper.loop(Looper.java:137) 10-17 14:54:13.404: W/System.err(868): at android.app.ActivityThread.main(ActivityThread.java:4424) 10-17 14:54:13.424: W/System.err(868): at java.lang.reflect.Method.invokeNative(Native Method) 10-17 14:54:13.424: W/System.err(868): at java.lang.reflect.Method.invoke(Method.java:511) 10-17 14:54:13.454: W/System.err(868): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

    Root Cause Analysis

    1. java.io.IOException

      Cannot run program "su": error=13, Permission denied 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:983) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:691) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:524) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:421) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at com.quixxi.rootdevice.MainActivity.restartDevice(MainActivity.java:243)

      at com.quixxi.rootdevice.MainActivity.access$300()
    2. com.quixxi.rootdevice
      MainActivity$3.onClick
      1. com.quixxi.rootdevice.MainActivity.access$300(MainActivity.java:18)
      2. com.quixxi.rootdevice.MainActivity$3.onClick(MainActivity.java:79)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5609)
      2. android.view.View$PerformClick.run(View.java:22259)
      3. android.os.Handler.handleCallback(Handler.java:751)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:154)
      6. android.app.ActivityThread.main(ActivityThread.java:6077)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames