Skip to content Skip to sidebar Skip to footer

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.Typefac

Solution 1:

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

Solution 2:

The issue was fixed in the API 21 rendering library. As a workaround, you can use the rendering library from API 20 in the meanwhile.

  1. Download the SDK platform for API 20 (4.4W)
  2. Navigate to your sdk folder (should be like D:\adt-bundle-windows-x86_64-20140321\sdk)
  3. Go to platforms folder -> android-21 folder -> data folder
  4. Rename layoutlib.jar (for backup purpose)
  5. Copy the same file from your android-20 folder to this folder
  6. Restart Eclipse

https://code.google.com/p/android/issues/detail?id=77726#c15

Post a Comment for "Android L Parsesdkcontent Failed Could Not Initialize Class Android.graphics.typeface"