android中常見的錯誤及解決辦法

2021-08-27 07:04:15 字數 1010 閱讀 6410

.報錯:

build failed

d:\workspace\ganji\build.xml:144: the following error occurred while executing this line:

d:\workspace\ganji\build.xml:271: unable to delete file d:\workspace\ganji\tmp\proguard\tmp.jar

解決:已經開了乙個模擬器了,無法重新編譯,必須關閉乙個。用於ant

2.報錯:

the connection to adb is down, and a severe error has occured.

這個問題誰能解決啊

解決:cmd跳到sdk tools檔案路徑下

adb kill-server

然後再adb start-server

3.報錯:

the connection to adb is down, and a severe error has occured.

[2010-03-11 09:36:56 - helloopone] you must restart adb and eclipse.

[2010-03-11 09:36:56 - helloopone] please ensure that adb is correctly located at 'd:\ophonesdk_1.5

\platform-tools\adb.exe' and can be executed.

解決:方法1.cmd中adb kill-server,然後adb -startserver

方法2.方法1不管用,那麼在任務管理器中殺死adb.exe,然後重啟eclipse。

,所以我選擇新建乙個資料夾,並且把tools中的檔案全部複製到platform-tools中)

4.前面的方法試了還是不行的話,建議重新裝乙個系統,最好換個系統。有些大牛也說過:ms存在一些小問題[size=large][/size]

android中常見的錯誤及解決辦法

自己總結的在android中常會出現的不好解決的問題和方法 其中第三個方法經過了四天的折磨。哎 1.報錯 build failed d workspace ganji build.xml 144 the following error occurred while executing this li...

js中常見的錯誤

1.錯誤分為兩種 1 錯誤 這種錯誤瀏覽器會報錯,可以根據錯誤型別去排錯 2 邏輯錯誤 這種錯誤瀏覽器不會報錯,但是可以使用斷點進行除錯排錯 2.錯誤型別 2.1語法錯誤 即寫的 不符合js編碼規則 報錯為 uncaught syntaxerror 資訊提示 我們可以根據後面的資訊提示去修改錯誤,當...

Servlet中常見的錯誤

埠占用錯誤 tomcat非正常關閉導致eclipse中顯示tomcat未執行實際上仍在執行 解決方案 1.重啟電腦 2.找到tomcat安裝資料夾 找到裡面的bin資料夾中的shutdown.bat,雙擊即可強制關閉tomcat.再次執行工程即可.8080埠占用錯誤 未知錯誤 解決方案 工程未關聯t...