I try run bash on android using next code:
Process proc = null;
try
{
proc = Runtime.getRuntime().exec("/bin/bash");
} catch (IOException e)
{
e.printStackTrace();
}
if (proc != null)
{
//some code
}else
System.out.println("NULL");
But proc always is null. What I do wrong?