Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
789 views
in Technique[技术] by (71.8m points)

eclipse - Android L parseSdkContent failed Could not initialize class android.graphics.Typeface

Hello recently i updated to Android L sdk. Now whenever i open new project dialog i'm getting this error.

parseSdkContent failed Could not initialize class android.graphics.Typeface

I have seen many questions already answered on stackoverflow but the solutions mentioned didn't work for me.

  • I have tried deleting the .android in folder C: drive and restarted eclipse.
  • I have also tried re-installing the new version of Android ADT plugin through Help->Install New Software in Eclipse as mentioned at http:developer.android.com/sdk/installing/installing-adt.html
  • Whenever i check for new updates in Eclipse it shows "No New Updates Found".

But still i'm getting the same error.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The update issue is probably related to your parseSdkContent issue, since "the update mechanism in the ADT bundle is broken" (Comment 66). This means that Eclipse have not updated to be compatible with the new Android

I had the same problem when I wanted to update my Eclipse to prepare it for Android L, so I downloaded the new adt zip, then came accross the other error, and after deleting my .android folder, I am no longer having issues.

The new bundle can be found on the android developer site, and here is the link: Android developer site


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...