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
有什么想法吗?