Java – Eclipse project error

Eclipse project error… here is a solution to the problem.

Eclipse project error

I’m developing Bluetooth chat from the Android developer website
Eclipse integrated development environment. I’m using Android 2.1 and changing the action bar to
Show toast messages instead and I only use Secure
Connect.

I have three classes under the same package called BluetoothChat,
The BluetoothChatService and DeviceListActivity project names are
Bluetooth channel

I fixed the error in two of the files. They are saved, now
Clear the red x that marked the two .java files before. all
Other files also have no errors. However, mainly
The Android project folder still contains a red x, while Eclipse does not
Allows the application to run or debug because of errors
Project.

Does anyone know how to fix this? Any suggestions are very numerous
Admiration! Thanks!

Solution

    Refresh the project

  1. , and then clean up the project.
  2. Remove the error in the Issues tab.
  3. Right-click on Project->Android->Clean project properties (or anything else).

Related Problems and Solutions