Solve the Problems of your project contains error (s) and please fix them before running your application

Source: Internet
Author: User

1. The most common query on the internet is: Project -- clean

2. Delete the project from the project list and import it again.
3. Delete the R. Java file and then automatically recreate it.

4. Upgrade ADT to the latest version.
5. Restart eclipse
6. reinstall eclipse3.5 and 3.6

7. Set the value of the version corresponding to the new project, Min SDK version (this is the system version that sets the program to run in)

However, these methods may not solve your problem. OK. I will add another solution here, hoping to help you.

Error message:
Description resource path location type
Project 'testbitcare' is missing required Library: 'C: \ workspaces \ myeclipse \ testbitcare \ assets \ ksoap2-android-assembly-2.4-jar-with-dependencies.jar 'testbitcare build path build Path Problem

Obviously, there is a problem with the path.

Solution: Right-click the project attribute or project-properties, select Java build path-libraries-add jars, select the root directory of the file that reported the error, and click OK.

There is a red cross in the project, I don't know what is missing, but there is no error in the bag. The running program reports the following error: Your project contains error (s), please fix them before running your application.

Console [11:00:33-Dex loader] unable to execute DEX: wrapper was not properly loaded first
[11:00:33-Hellworld] conversion to Dalvik format failed: unable to execute DEX: wrapper was not properly loaded first you only need to replace eclipse in the eclipse folder. INI open, change the last 2 lines of text to-Xms128m-Xmx512m to re-run the program.
* There are no errors in both the. Java file and the main. xml file.
In the project directory on the left, there is a red cross on the project name, and there is no other place.
Is there any good solution?

Error generating final archive: Debug certificate expired on xxxxxx (date)
Solution:

Linux: window -- preferences -- Android -- default debug keystore in build displays the address "/home/jinli /. android/debug. keystore, delete the debug under this path. keystore and ddms. cfg

Window XP: Enter: C: \ Documents ents and Settings \ Administrator \. Android (win7 in c: \ Users \ ly \. Android)
Delete: Debug. keystore and ddms. cfg

Cause analysis:

Android requires that all programs have signatures; otherwise, the program will not be installed. During our development process, ADT uses debug keystore and sets it in preference-> Android-> buid. The keystore of DEBUG is valid for one year by default. If you have finished the android program from a year ago, debugging may occur when you import the app one year later.
Keystore expired, causing you to fail to generate the APK file.


Now you only need to delete the debug keystore, and the system will generate a private key valid for one year for you.

Note: (directories in different environments may be slightly different. You can find this path in Eclipse: window-> preferences-> Android-> default debug keystore under build)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.