Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
2013-07-25 10:13
726 查看
昨天再做android的3D图360度全景图时,从http://code.google.com/p/panoramagl-android/downloads/list网站下载了现有的demo,导入到Eclipse中后选择了相应的API后,红叉的项目错误没有了。
工程列表也无任何错误了。但出现了这样的提示框错误
![](http://my.csdn.net/uploads/201208/07/1344326177_5008.png)
说明的是.classpath这个环境文件不能写。随后,查看工程文件主目录下的.classpath文件、.project文件的属性,发现两者属性为隐藏,去掉隐藏属性后,此问题解决。同样,这俩文件也不能为 只读 。
此问题如果不解决,并不影响程序的执行,但运行程序会报错误。即ClassNotFoundException错误。
工程列表也无任何错误了。但出现了这样的提示框错误
![](http://my.csdn.net/uploads/201208/07/1344326177_5008.png)
说明的是.classpath这个环境文件不能写。随后,查看工程文件主目录下的.classpath文件、.project文件的属性,发现两者属性为隐藏,去掉隐藏属性后,此问题解决。同样,这俩文件也不能为 只读 。
此问题如果不解决,并不影响程序的执行,但运行程序会报错误。即ClassNotFoundException错误。
相关文章推荐
- Android项目导入时,出现的Could not write file 。。。.classpath错误的解决办法
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- .Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android错误:项目导入时,出现Exception in thread "main" java.lang.NoClassDef、Could not write file 。。。.classpath
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- 导入项目出现:Could not find com.android.support.constraint:constraint-layout:2.0.0-alpha8的解决方法
- 解决jetty出现Could not write file的错误
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- asp.net发布webservice出现‘Could not write to output file ‘解决办法
- 使用Openjdk7编译android源码出现"Could not initialize NSS"错误的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- Android项目导入Eclipse出现错误解决办法
- 解决导入的Android项目中出现的The project was not built since和 Unable to resolve target 'android-19'错误
- 导入项目出现:Could not find com.android.support.constraint:constraint-layout:2.0.0-alpha8的解决方法