Android -- the project was not built due to a resource exists with a different case...

进行编码时,工程前面莫名有个红X,正当百思不得其解时,发现在[problems]下有如下的消息输出

------

the project was not built due to a resource exists with a different case...

------

按照提示对代码再次进行了check,果然是大小写出了问题,具体如下:

包名为:com.example.Android_intent3

但很奇怪的是.java文件中AndroidMaifest.xml中引用该包的地方都变成了小写,但程序没有明确的报错。。。

修改前:package="com.example.android_intent3"

修改后:package="com.example.Android_intent3"

再次运行程序正常。

出了问题一定要仔细看ecplise的提示信息。

时间: 2024-08-04 03:11:22

Android -- the project was not built due to a resource exists with a different case...的相关文章

eclipse工程总是提示红叉,但是没有看到哪出错了!The project was not built due to "Could not delete

最近在编译web project的时候,页面总是提示xx方法没有被定义为xx类.但是明明都是正确的. 而且在工程上有个红叉但是程序并没有看到哪有错误.如下图: 解决方法: 1.先打开problem窗口,才能看到意想不到的错误. Window-show view-other-找到problem.然后就会看到一条错误.如下: The project was not built due to "Could not delete '/build/com'.". Fix the problem,

The project was not built due to "Could not delete ...".Fix the problem, then try refreshing this project and building it since it may be inconsistent.

问题:The project was not built due to "Could not delete ...".Fix the problem, then try refreshing this project and building it since it may be inconsistent. 原因:因为myeclipse编译文件的时候需要把之前的删掉重新编译一次,但是你有一个class被占用,如:目录路径在dos里面打开,所以没法删除,就报这个错...所以要做的就是把占

The project was not built due to "Could not delete ''.". Fix the problem, then try refreshing this p

Eclipse修改完Java类文件保存之后,项目上出现了错误提示,如图: 但是项目的文件都没有提示错误, 打开Problems窗口会看到具体的错误信息: The project was not built due to "Could not delete ".". Fix the problem, then try refreshing this project and building it since it may be inconsistent SimpleMetada

The project was not built due to "Could not delete '/XXX/WebRoot/WEB-INF/classes/library'.". Fix the problem, then try refreshing this project and building

在构建插件时提示如下错误: Description Resource Path Location Type The project was not built due to "Could not delete ' 在网上查找时发现,最简单的解决方法是:project-->clean,选择出错的工程,点击确定错误即可消除. The project was not built due to "Could not delete '/XXX/WebRoot/WEB-INF/classes

Android Tools Project Site

Android Tools Project Site Search this site   Projects Overview Screenshots Release Status Roadmap Download Preview Channel Recent Changes Technical docs New Build System Known Issues Tips Build Overview Contributing Feedback Technical docs‎ > ‎New B

Android studio project文件结构翻译

Android studio project文件结构翻译 个人翻译,用作备忘. 链接地址:https://developer.android.com/tools/projects/index.html#ApplicationModules Android Project Files Studio的项目文件和设置,设置的作用范围包含所有的module. 以以下的demo为例. .git:git版本控制的文件存放目录. .gradle:gradle执行一些编译所生成的目录 Idea: 由Intell

; AutoHotkey全自动安装环境设置和测试JAVA+Eclipas+Android+JRE+JDK+SDK+ADT+Android模拟器+Android Virtual Device Manager+NDK+Studio+Doc+Help+Android Application Project编程调试windows环境[草稿版] DetectHiddenWindows,On SetTitl

; AutoHotkey全自动安装环境设置和测试JAVA+Eclipas+Android+JRE+JDK+SDK+ADT+Android模拟器+Android Virtual Device Manager+NDK+Studio+Doc+Help+Android Application Project编程调试windows环境[草稿版] DetectHiddenWindows,OnSetTitleMatchMode,2 ; 激活窗口并单击按钮IfWinExistActiveControlClick

Android NFC Project – “NFC-War”

http://radiowar.org/security/android-nfc-project-nfc-war.html 视频演示了App基础功能.Anyway,呆呆给力啊! 备注: 1.程序的NFC图标为剽窃某国外访问的图标 :)2.程序视频已经完整的解释了功能以及相关的介绍.3.写卡功能还存在改善功能,并且已经得到内测朋友的建议4.程序原型为演示视频 -"Samsung NFC Reader App Demo Video"的App.5.对于部分朋友说的修改(Write)功能并未加

Android问题集锦之四十九:Can't add XStream file dependency to Android Studio project

将xstream1.4.8 引入Android Strudio项目中,编译报错如下: UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472) at