2012-12-19 20 views
1

失敗消息推送文件:我不能跟中國的名字,如「你好你好.TXT」通過Windows ADB命令行

failed to copy 'D:\My Documents\桌面\hello你好.txt' to '/storage/sdcard0/hello你好.txt': Invalid argument 

我從遭受的另一個問題是與此類似,在命令行「adb shell ls」中顯示的信息對於中文文件而言很奇怪,完全錯誤,但英文項目顯示正常。

android 
test.txt 
鎴戠殑鐓х墖 
鎴戠殑瑙嗛 
鎴戠殑闊充箰 
[email protected]:/storage/sdcard0 # 

回答

0

第一個問題是:

D:\My Documents\桌面\hello你好.txt 

上面的路徑格式是Windows。並且:

/storage/sdcard0/hello你好.txt 

路徑格式是* NIX。

您可以嘗試用D:/My Documents/桌面/hello你好.txt/D/My Documents/桌面/hello你好.txt替換D:\My Documents\桌面\hello你好.txt

第二個問題是因爲編碼,請嘗試更改您的終端編碼。

相關問題