在每个新创建的项目中获取错误 [英] Getting error on every newly created project

查看:143
本文介绍了在每个新创建的项目中获取错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我在Eclipse中为某些Android应用程序创建一个新项目时,它会给我一个红十字标记,并在编译时显示以下错误:

Whenever I create a new project in Eclipse for some Android application it gives me a red cross sign and on compiling shows following errors:

error generating final archive: java.io.FileNotFoundException: C:\..\bin\resources.ap_ does not exist

Unparsed aapt error(s)! Check the console for output.

在谷歌搜索我发现,通过清理项目,我们可以删除这个错误,但它不工作在我的case。

On Googling I found that by cleaning the project we can remove this error but it is not working in my case.

之前我能够在Eclipse中创建Project。所有这些问题都是在安装了一些Google API之后开始的,但是我猜这不是问题的原因,还有别的东西。

Earlier I was able to create Project in Eclipse. All this problem started after installing some Google APIs but I guess they are not cause of problem, something else is there.

推荐答案

这是一个命令路径的问题?
SDK不喜欢安装在名称如Program Files\Google\Android ...的dirs中

Could it be an issue with a command path? SDK doesnt like being installed in dirs with long names like "Program Files\Google\Android..."

如果 需要适当调整路径(C:\Progra〜2 ...或smth这样)

If thats the case, youll need to adjust path appropriately (C:\Progra~2... or smth like this)

(检查 http://ideanotion.net/android-sdk-无效命令行参数文件错误/ 或Google)

( check http://ideanotion.net/android-sdk-invalid-command-line-parameter-files-error/ or Google )

这篇关于在每个新创建的项目中获取错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆