擅长:python、mysql、java
<p>调用<code>root</code>函数<code>root()</code>,这会将您放入adb shell。您试图从adbshell运行一个<code>python</code>命令<code>input</code>,但该命令不起作用。在</p>
<p>有几个链接可以帮助您完成您想要的操作:</p>
<p><a href="http://code.google.com/p/python-for-android/wiki/RunPythonFromShell" rel="nofollow">runpythonfromshell</a></p>
<p><a href="http://code.google.com/p/android-scripting/wiki/UserGuide" rel="nofollow">sl4a</a></p>