Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK Content Loader has encountered a issue. parseSdkContent failed

After trying to update the ADT plugin and download Android 5.0 SDK, I got the error:
"Android SDK Content Loader has encountered a problem.
parseSdkContent failed
Could not initialize class android.graphics.Typeface"

https://i.sstatic.net/xR17Y.png

I removed Eclipse, Android SDK, ".android" and workspace folders.

I downloaded the new Eclipse (4.4.1), ADT plugin (23.0.4.1468518) and Android SDK (only 5.0 API 21):

https://i.sstatic.net/cjECP.png

Create new empty project and I got the same error.

What should I remove it to look clean?

Updated: I installed everything on a clean OS, but I got the error. Any solutions, please.

like image 791
Alex Kareev Avatar asked Feb 01 '26 22:02

Alex Kareev


1 Answers

According to AOSP Issue Tracker this bug caused by rendering library. To solve it:

  1. Download the SDK platform for API 20 (4.4W);
  2. Go to /platforms/android-21/data folder;
  3. Rename layoutlib.jar (for backup purpose);
  4. Copy the same file from your android-20 folder to this folder;
  5. Restart Eclipse.
like image 183
Dmitriy Avatar answered Feb 04 '26 13:02

Dmitriy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!