測試了兩台電腦,第一台是win7 32bit,
第二台是win7 64bit+全新安裝Java 7(最終版,目前已停止更新,現有下載版本為8)
兩台都是遇到一樣的錯誤訊息,
嘗試去修改批次檔C內的路徑
C:\Program Files (x86)\Java\jre7\bin\java
改為 C:\Program Files\Java\jre7\bin\java
可惜並未奏效,
反而回去看批次檔A和B,所使用的JAVA路徑和批次檔C是相同的,
只有批次檔C執行會錯誤,怪.
--------------------------------分隔線----------------------------------------
adb重新啟動中...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
已偵測到手機...
手機型號: HTC HTC_D820u
Android 版本:4.4.4
======================================
請到手機端螢幕點選備份我的資料,密碼請不要輸入
Now unlock your device and confirm the backup operation.
正在取得資料庫的...
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't
know how to process version 2
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:180)
at org.nick.abe.Main.main(Main.java:50)
... 5 more
Caused by: java.lang.IllegalArgumentException: Don't know how to process version
2
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:64)
... 6 more
==========================================
找不到Java 7 (JRE 7)路徑
尋找Java 7 (JRE 7) (x86)路徑
系統找不到指定的路徑。
=========================================
請先安裝Java 7(JRE 7)
安裝網址:http://www.java.com/zh_TW/download/
請按任意鍵繼續 . . .
--------------------------------分隔線----------------------------------------
將第二台電腦的JAVA移除,重新安裝,
變更安裝路徑為 C:\Program Files (x86)\Java\jre7\
原為C:\Program Files\Java\jre7\
這下子錯誤訊息又不一樣了,哈哈
--------------------------------分隔線----------------------------------------
adb重新啟動中...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
已偵測到手機...
手機型號: HTC HTC_D820u
Android 版本:4.4.4
======================================
請到手機端螢幕點選備份我的資料,密碼請不要輸入
Now unlock your device and confirm the backup operation.
正在取得資料庫的...
系統找不到指定的路徑。
==========================================
找不到Java 7 (JRE 7)路徑
尋找Java 7 (JRE 7) (x86)路徑
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:58)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Don't
know how to process version 2
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:180)
at org.nick.abe.Main.main(Main.java:50)
... 5 more
Caused by: java.lang.IllegalArgumentException: Don't know how to process version
2
at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:64)
... 6 more
=========================================
請先安裝Java 7(JRE 7)
安裝網址:http://www.java.com/zh_TW/download/
請按任意鍵繼續 . . .
--------------------------------分隔線----------------------------------------
希望作者能看一下這問題,
感恩