java.io.IOException

Error running exec(). Command: [/system/bin/su, -c, reboot now] Working Directory: null Environment: null

Samebug tips2

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");


rafaelrafael

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1614

  • via Stack Overflow by Suniel
    ,
  • via Stack Overflow by nneonneo
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • java.io.IOException: Error running exec(). Command: [/system/bin/su, -c, reboot now] Working Directory: null Environment: null at java.lang.ProcessManager.exec(ProcessManager.java:211) at java.lang.Runtime.exec(Runtime.java:173) at java.lang.Runtime.exec(Runtime.java:128) at com.android.onlinepayment.activity.SystemSubMenuActivity$1.onClick(SystemSubMenuActivity.java:49) at android.view.View.performClick(View.java:5184) at android.view.View$PerformClick.run(View.java:20910) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5942) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Qamer AliQamer Ali
    Once,
    PKeidelPKeidel
    3 times, last one
    serious2monkeysserious2monkeys
    Once,
    HandemelindoHandemelindo
    6 times, last one
    kidkid
    5 times, last one
    85 more bugmates