-1
我試圖使用Eclipse loadup Android的藍牙聊天例如:Android開發藍牙聊天例如不工作
我還沒有與任何代碼的篡改,但馬上我得到23個java的錯誤,誰能幫助?
謝謝。
這裏是我得到...
Description Resource Path Location Type
The import android.view.Window is never used BluetoothChat.java /BluetoothChat/src/com/example/android/BluetoothChat line 33 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 481 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 488 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 489 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 480 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 460 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 459 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 438 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 437 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 413 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 412 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 393 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 392 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 388 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 371 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 370 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 339 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 338 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 323 Java Problem
The field PowerManager.SCREEN_BRIGHT_WAKE_LOCK is deprecated AccelerometerPlayActivity.java /AccelerometerPlay/src/com/example/android/accelerometerplay line 75 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 322 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 302 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 303 Java Problem
No exception of type IOException can be thrown; an exception type must be a subclass of Throwable BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 283 Java Problem
The method e(String, String, Throwable) in the type Log is not applicable for the arguments (String, String, IOException) BluetoothChatService.java /BluetoothChat/src/com/example/android/BluetoothChat line 284 Java Problem
發佈相關源代碼。 – kosa