您的位置:首页 > 移动开发 > Android开发

parseSdkContent failed Could not initialize class android.graphics.Typeface

2015-11-10 10:10 495 查看
来自:http://blog.csdn.net/changemyself/article/details/41802679

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: