process = Runtime.getRuntime().exec("su");
os = new DataOutputStream(process.getOutputStream());
os.writeBytes(command + "\n");
os.writeBytes("exit\n");
os.flush();
process.waitFor();
系统说:"07-06 11:01:34.337: I/System.out(3864): su: uid 10170 not allowed to su"
我在终端中执行“adb root”
:~/android/android-sdk/platform-tools$ ./adb root
adbd is already running as root
有任何想法吗?