Android项目出现main.xml编译出错和 出现main.out.xml无法编译的解决办法
2012-10-18 21:15
609 查看
由于Eclipse的原因 当run时处于xml文件的情况下 会出现这个问题
解决办法是:
1首先把自动生成的空文件main.out.xml删除
然后项目会出错 这时候选择Project--Clean 再重新编译就好了
另外对于这个问题的一个从Eclipse设置上的解决办法是在Windows--Preferences里的Run/Debug中的launch进行一下设置
默认下Launch Operation选择的是第二项
需要改成第一项Always launch the previously launched application
解决办法是:
1首先把自动生成的空文件main.out.xml删除
然后项目会出错 这时候选择Project--Clean 再重新编译就好了
另外对于这个问题的一个从Eclipse设置上的解决办法是在Windows--Preferences里的Run/Debug中的launch进行一下设置
默认下Launch Operation选择的是第二项
需要改成第一项Always launch the previously launched application
相关文章推荐
- Android项目出现main.xml编译出错和 出现main.out.xml无法编译的解决办法
- android编译时生成了一个 main.out.xml文件,无法编译的解决办法
- Android之在eclipse编译项目出现unable to resolve target android-20解决办法
- Visual Studio Xamarin编译Android项目出错的解决办法
- 举例android项目中的string.xml出现这个The character reference must end with the ';' delimiter.错误提示的原因及解决办法
- Intellij Idea 2016 提示Java home is different.无法正常编译Android项目的解决办法
- 使用ec编译cocos项目是出现Android.mk文件报错Are you sure your NDK_MODULE_PATH variable is properly defined 的解决办法
- Eclipse中编译Android项目工程失败,提示: Error in an XML file: aborting build 解决办法
- 编译sdl项目时出现无法解析的外部符号 __imp__fprintf解决办法
- 有关新建Android项目时出现“AndroidManifest.xml file missing!”提示的解决办法
- 使用gradle管理ssm项目,出现mybatis的*.xml映射文件无法打入到war包里,解决办法!
- 举例android项目中的string.xml出现这个The character reference must end with the ';' delimiter.错误提示的原因及解决办法
- android项目出现红色感叹号、调用API出错的几种解决办法
- 解决main.out.xml文件出现问题---android开发
- 关于Android 出现65536,导致项目无法正常编译问题的解决
- 使用android stuido 编译项目时,项目的路径包含中文无法编译成功解决办法
- Android编译出现com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536错误解决办法
- 使用Openjdk7编译android源码出现"Could not initialize NSS"错误的解决办法
- Android混淆打包出错,出现类似 there were 100 duplicate class definitions解决办法
- android 2.3.4 编译中出错和解决办法