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:
And when I try to run project, it is giving this error :
解决办法:
I deleted the
and everything is normal now.
In Windows you can find this folder in
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.
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/.androidfolder
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.
相关文章推荐
- Android StartService和BindService深入解析
- android networkonmainthreadexception 异常的解决办法
- 分享:Android之自定义标题
- Android Bundle类
- Android播放器开发注意事项
- 分享:Android之自定义标题
- android客户端从服务器端获取json数据并解析的实现代码
- Android Apk签名信息详解
- Android反射机制实现与原理
- Android Studio 1.4 调试时SDK源码行错乱解决方法
- Android Studio 1.4带来的福利
- Android 监听软键盘弹出状态
- Android开发之getMeasuredWidth和getWidth区别从源码分析
- 美团Android资源混淆保护实践
- 教你轻松制作Android音乐播放器
- 使用selector设置按钮不同状态的样式(Android)
- 使用Drawble文件实现圆角,填充颜色,边框等属性的设置(Android)
- Android开发中的armeabi和armeabi-v7a介绍
- android开发之---管理FragmentManager
- Android studio Git及TortoiseGit使用全程图解