Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/178.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 通过ADB从.bat启动.sh脚本_Android_Shell_Sh_Adb_Root - Fatal编程技术网

Android 通过ADB从.bat启动.sh脚本

Android 通过ADB从.bat启动.sh脚本,android,shell,sh,adb,root,Android,Shell,Sh,Adb,Root,我的配置是谷歌像素128gb,安卓10,Magisk 20.4+8.0.0管理器,有神秘的问题 我需要使用.bat脚本,它有一些代码adb shell“shsdcard/frame.sh” 但它不起作用获得错误cmd:Failure calling service activity:Failed transaction(2147483646)如果我用手在cmd中键入两行,如:adb shell,然后sh sdcard/plannier.sh它工作得很好 我怎样才能解决这个问题?有人能帮你吗?你有

我的配置是谷歌像素128gb,安卓10,Magisk 20.4+8.0.0管理器,有神秘的问题

我需要使用.bat脚本,它有一些代码
adb shell“shsdcard/frame.sh”

但它不起作用
获得错误
cmd:Failure calling service activity:Failed transaction(2147483646)

如果我用手在cmd中键入两行,如:
adb shell
,然后
sh sdcard/plannier.sh
它工作得很好


我怎样才能解决这个问题?有人能帮你吗?

你有没有试过用这种方式插入你的.bat:

adb shell
sh sdcard/airplane.sh

这很难解释,但在更新Magisk 21.0+Manager 8.0.1后,它工作了

是的,我试过了,它停在2行上,shell打开了,什么也没发生。我想问题出在cmd上,我使用的是windows10,Win中的命令行与Linux或android不同。它并没有把第二条线转移到壳牌公司