【Python求助】在eclipse和pycharm中,通过adb install安装中文名字APK时老是报错,如何解决

 # -*- coding: utf-8 -*-
import os
import sys
import subprocess
import time
from uiautomator import device as d
subprocess.check_output(r'adb install E:\Project\work\exercise\app_list\程序.apk')

输出如下:

 adb: usage: filename doesn't end .apk: E:\Project\work\exercise\app_list\鑻辫娴佸埄璇?apk
Traceback (most recent call last):
File "E:\Project\work\exercise\debug.py", line 12, in <module>
print subprocess.check_output(cmd)
File "C:\Python27\lib\subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'adb install E:\Project\work\exercise\app_list\程序.apk' returned non-zero exit status 1
上一篇:使用Apriori算法和FP-growth算法进行关联分析


下一篇:CATransition的动画效果类型及实现方法--老代码备用参考