Android的Eclipse的问题未能创建BuildConfig类问题、Android、Eclipse、BuildConfig

2023-09-07 15:19:54 作者:孤独友人

我收到无法创建BuildConfig类的错误,而在日食清洗机器人项目。我最近安装了Eclipse的Juno面向移动开发者,而我试图导入我现有的Andr​​oid应用程序,启动Eclipse给我这样那样的错误。

I am getting "Failed to create BuildConfig class" error while cleaning android project in eclipse. I have recently installed Eclipse Juno for Mobile developers and while I was trying to import my existing android applications, Eclipse started giving me this kind of error.

如果我创建新的Andr​​oid项目的Eclipse工作正常。可能是什么可能的原因和可能的解决方案,这个问题?

Eclipse is working fine If I create new android projects. What could be the possible cause and probable solution for this issue?

我使用的操作系统 - Windows Server 2008的

I am using OS - Windows Server 2008

推荐答案

我有错误更新(安装),朱诺,让它迁移我的工作区和地方的git回购之后。这个错误之前,我得到了另一个错误:

I had the error after updating (installing) Juno and letting it migrate my workspace and local git repo. Before that error I got another error:

JavaBuilder handling ImageBuilderInternalException while building: <projectname>

最后,我发现该错误是由文件的权限引起的复位后,他们的问题解决了:

Finally I found out that the error was caused by file perms and the problem resolved after resetting them:

chown <me>:<me> <my-repo>

破权限背后的原因是:在安装插件MOTODEV到Eclipse JUNO我不得不开始我与'须藤的Eclipse的过程。显然,该运行自动生成过程中重写我的一些文件。

The reason behind the broken permissions: during the process of installing the MOTODEV plugins to Eclipse JUNO I had to start my Eclipse with 'sudo'. Obviously that run overwrote some of my files during the automatic build.

 
精彩推荐
图片推荐