码迷,mamicode.com
首页 > 移动开发 > 详细

parseSdkContent failed Could not initialize class android.graphics.Typeface

时间:2015-02-15 13:32:27      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:

When I open layout editor, eclipse is giving this error:

parseSdkContent failed
Could not initialize class android.graphics.Typeface

And when I try to run project, it is giving this error :

An internal error occurred during: "Launching myapp".
java.lang.NullPointerException

 

解决办法: 

I deleted the home/.android folder and everything is normal now.

In Windows you can find this folder in C:/Users/User/

Source: http://stackoverflow.com/a/5883841/3681056

Note: it happens when you have 2 versions of SDK and eclipse, both in the same computer (and using the same .android file), if you open on version the other will get this error.

parseSdkContent failed Could not initialize class android.graphics.Typeface

标签:

原文地址:http://www.cnblogs.com/zshuai/p/4292769.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!