Eclipse的疯了(因为SDK棒棒糖更新)棒棒糖、Eclipse、SDK

2023-09-06 22:44:04 作者:绘離開噈莂堔擁

林尝试几乎everythink和IM不能写code好几天了。

Im try almost everythink and im can't write code for days.

Eclipse中通常会返回此错误,当我尝试了编辑的布局。并创造新的项目,新的XML文件,试图运行项目:

Eclipse usually return this errors, when i trying a edit layout. And create new project, new xml file, trying to run project:

parseSdkContent失败   java.lang.ExceptionInInitializerError

"parseSdkContent failed java.lang.ExceptionInInitializerError"

parseSdkContent失败   无法初始化类android.graphics.Typeface

"parseSdkContent failed Could not initialize class android.graphics.Typeface"

林删除我的用户/ .Android文件夹。它的工作,但直至下一个编辑XML。当尝试打开布局XML,再次返回错误。一些修改后,给它......的字样的错误。

Im delete my user/.Android folder. Its work but until to next edit xml. When try to open layout xml, return errors again. A few edit after give it to "....typeface" error.

我试图删除我的工作区/ .metadata,我尝试全新安装ADT,而不是更新到棒棒糖,X68 / X86-64 ...

I try to delete my workspace/.metadata, i try clean install ADT, not update to lolipop, x68/x86-64...

错误是不断,即时通讯感觉desprate。

Errors are continues, im feel desprate.

如何才能解决这个问题? (对不起,我的脏话)

How can fix this? (Sorry for my bad language)

解决了!

林解决了开关新的工作空间。删除.metadata是不够的。

Im solved with switching new workspace. Deleting .metadata is not enough.

推荐答案

是的,作出新的工作空间是更好然后删除 .metadata 反正。 但是,在我的情况下,它没有工作,但可能会遇到的错误再次,这将需要重新启动。

Yes, making new workspace is much better then deleting .metadata anyways. But in my case it did worked, but could run into error again, that would require restart.

安卓5.0工具(包括Android工作室)似乎依然越野车, 这样变老的版本例如22.6.3从 https://dl.google.com/android/ADT-22.6 .3.zip 进入新的Eclipse实例,并用新的工作区工作

Android 5.0 tools (including Android Studio) seems to be still buggy, so get older version e.g. 22.6.3 from https://dl.google.com/android/ADT-22.6.3.zip into new Eclipse instance and work with new workspace

http://www.nodeclipse.org/projects/gradle/android/start

之后,当新的ADT版本来尝试在第一个Eclipse实例进行更新。一段时间

After some time when new ADT version comes try to update it in the 1st eclipse instance.

这是有一个与Eclipse的插件稳定工作 和其它Eclipse与学习和尝试新的插件。

That is having one Eclipse with stable plugins for work and other Eclipse with newer plugins for learning and experimenting.