Android Exclamatory red mark

I am very new to Android. Whenever I create a new project using a new workspace, I get a red exclamation mark in Eclipse in my project and an error in Appcompat . I was looking for an answer here, but there was no answer what I was looking for, so I just asked about it. When I create a workspace in DDMS, it displays this:

 Sending Tracking request failed! 

In Android, after creating a new project

 WARNING: unable to write jarlist cache file here, src file, layout file not available. 

I searched a lot and did not find a solution.

+4
source share
5 answers

Ok, first first. Google Eclipse is no longer supported. The only official IDE for Android Development is the Android Studio Download Page .

Below is the Eclipse Support Announcement

Over the past few years, our team has focused on improving the experience of developing Android applications with Android Studio. Since the launch of Android Studio, we have been impressed by the excitement and positive feedback. As the official Android IDE, Android Studio gives you access to a powerful and comprehensive set of tools for developing your application on Android platforms, whether on the phone, wrist, car or TV.

To this end, and to focus all our efforts on making Android Studio better and faster, we will finish the development and official support for Android Developer Tools (ADT) in Eclipse at the end of the year. This includes the Eclipse ADT plugin and the Android Ant build system.

Please note that the number of users using Eclipse to develop Android applications is declining. Over time, you will receive less support even on Stackoverflow. In general, it’s better to just make the switch while you are just getting started.

Check out the first link, you will see wonderful documentation in the Android Studio IDE


If you need 100% use Eclipse ...

OK, so you have a job requiring Eclipse, or there is another reason, then go to this Eclipse documentation .

In addition, here is a list of all the different icons that Eclipse can display ( credit for the list of icons ).

Problems with creating a path are sometimes easy to miss, among other problems in the project. The "Package Explorer" and "Project Explorer" views now display the new decorator for Java projects and worksets containing build path errors:

enter image description here

Specific errors can be seen in the Problems view, and if you open the browse menu and select Group> Java Problem Type, they all appear in the Build Path category:

enter image description here

+6
source

If you have a problem with the app_compact library ... This is the solution

Hope this works ...

+1
source

Please also link to this link here

If you go to the appcompat_v7 / bin folder, you will see that the "jarlist.cache" file is not displayed or out of sync. You need to update the appcompat_v7 folder, just press F5 above this folder.

The appcompat_v7 folder has been added since you are using the component action bar.

Ahh. To avoid the new appcompat_v7_XX folder when creating a new project, select the LEVEL 14 level API as the Minimun SDK. After you modifier AndroidManifest.xml and enter the level you need.

change it android: targetSdkVersion = "19" / ">

Delete all appcompat_v7_XX. This is mistake.

With appcompat_v7, you'll see that Eclipse creates two XML files: Activity_main.xml and fragment_main.xml. If you want to have the option to create a project in the old way only with Activity_main.xml, do that:

Make a copy of the BlanckActivity folder located along this path: \ sdk \ tools \ templates \ actions of the previous version of ADT.

Rename the folder as "BlankActivityNoFragment", then edit the file name field "template.xml" using notepad as name = "BlankActivityNoFragment"

Copy the new folder along the same path of the new Eclipse IDE: KFOR / tools / templates / events

Now you will see a new template when creating a new project. Remember to select the minimum required API SDK 14

+1
source

If you do not need support for the appcompat library, simply remove it from your project by following these steps:

  • Right click on the project
  • Select properties
  • In the dialog box, select android on the left side
  • In the verification dialog box section
  • Remove the appcompat library by selecting it and click remove
  • Extends your MainActivity.java with activity

You can successfully start the project.

If you need appcompat support, follow these steps:

  • download the latest appcompat using Sdk Manager
  • import appcompat project into eclipse
  • add it as a library project
  • Extend your MainActivity with AppCompatActivity.
+1
source

In accordance with the documentation

Designs Java projects and worksets containing the build path. Errors

There may be several reasons. In most cases, these may be some of the following reasons:

  • You have deleted some .jar files from the / lib folder
  • You have added new .jar files.
  • you added new .jar files that may be conflicting with others

So what needs to be done, we must resolve these missing / updated / new_added jar files.

  • right click on the project and go to properties
  • Choose a Java build path.
  • go to the "Libraries" tab
  • Remove links to jar files that you have already deleted. There will be a red sign next to them so you can easily identify them.
  • Add links to recently added .jar files with Add JARs Refresh the project

This will solve the problem if it is due to one of the above reasons.

Problem with a still face? Try the following:

Go to Windows β†’ Settings β†’ Android β†’ Build and uncheck the box β€œSkip packaging and uninstalling before exporting or launching”, and then restart Eclipse.

0
source

All Articles