`

android项目报your project contains error(s)异常,无法执行

阅读更多

 

在使用Eclipse写android程序,经常出现下面的异常:

your project contains error(s),please fix them before running your application

 

 

 

解决办法一:

 

1、eclipse重启,如果不行执行第二步。

 

2、先把项目删除,再加载进来。

 

解决办法二:

 

 在新创建的Activity中的空白位置按下回车,然后再保存。

(猜测发生的原因是创建的Activity没有编译而导致的)

分享到:
评论
1 楼 hyt5926 2011-12-13  
谢谢,帮我解决了一个问题

相关推荐

    Android Studio工程导入,仅需三步便可运行

    本学期刚刚学习Android开发...Error:Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http:/

    EurekaLog_7.5.0.0_Enterprise

    16)..Added: Support for environment variables in project option's paths 17)..Added: Support for relative file paths and environment variables for events and various module paths 18)..Added: Logging ...

    apktool documentation

    It's not required to maintain your own aapt install under $PATH. (However, features like -a / --aapt are still used and can override the internal aapt) The addition of aapt replaces the need for ...

    ICS delphixe10源码版

    (Aka FPIETTE's Components) Revised: March 3, 2016 http://www.overbyte.be/ http://wiki.overbyte.be/ Table of content: ----------------- - Legal issues - Donate - Register - Contributions - Latest ...

    javacv-platform-1.3.3-src

    The binary archive contains builds for Android, Linux, Mac OS X, and Windows. The JAR files for specific child modules or platforms can also be obtained individually from the Maven Central Repository....

Global site tag (gtag.js) - Google Analytics