标签:mos ESS file comm pyc bug 中文名 coding recent
1 # -*- coding: utf-8 -*- 2 import os 3 import sys 4 import subprocess 5 import time 6 from uiautomator import device as d 7 subprocess.check_output(r‘adb install E:\Project\work\exercise\app_list\程序.apk‘)
输出如下:
1 adb: usage: filename doesn‘t end .apk: E:\Project\work\exercise\app_list\鑻辫娴佸埄璇?apk 2 Traceback (most recent call last): 3 File "E:\Project\work\exercise\debug.py", line 12, in <module> 4 print subprocess.check_output(cmd) 5 File "C:\Python27\lib\subprocess.py", line 573, in check_output 6 raise CalledProcessError(retcode, cmd, output=output) 7 subprocess.CalledProcessError: Command ‘adb install E:\Project\work\exercise\app_list\程序.apk‘ returned non-zero exit status 1
【Python求助】在eclipse和pycharm中,通过adb install安装中文名字APK时老是报错,如何解决
标签:mos ESS file comm pyc bug 中文名 coding recent
原文地址:https://www.cnblogs.com/51study/p/9341404.html