raw_output = subprocess.check_output(f'adb shell service call iphonesubinfo {i}', shell=True),在这行报错,报错内容是: Command 'adb shell service call iphonesubinfo 1' returned non-zero exit status 1.。这是什么原因导致的呀?
我问过gpt,gpt说adb shell service call iphonesubinfo 1 这个命令是用来从 Android 设备上获取IMEI号的。如果出现了返回值为非零的错误(exit status 1),可能有几个原因:
我的Android版本是9.0,而且我使用pycharm已经能够成功的运行了