首页 > 移动平台 > 详细

parseSdkContent failed Could not initialize class android.graphics.Typeface

时间:2015-02-15 13:29:54      阅读:231      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!