Android 5.0 parseSdkContent failed Could not initialize class android.graphics.Typeface
来源:互联网 发布:win7电脑禁止安装软件 编辑:程序博客网 时间:2024/05/20 21:48
在进行android开发过程中,忽然发现经常弹出来parseSdkContent failed 这个错误,然后google了下解决办法
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.
同一电脑存在两个版本的SDK
方法1:
删除.android文件 重启eclipse。
该方法对我来说还是管用的,确实没有弹出这些东西了。但是在启用SDK Manger或者虚拟机的时候,弹出了parseSdkContent failed Could not initialize class android.graphics.Typeface这个问题,解决google吧。
然后在stackoverflow找到了一个方法
1.Go to platforms folder -> android-21 folder -> data folder
2.rename layoutlib.jar (for backup purpose)
3.copy the same file (layoutlib.jar) from your android-20 folder to this folder
4.restart Eclipse
按照这个步骤走了下去,确实在启用SDK Manger或者虚拟机的时候没有再弹出来过错误提示信息了。
同时我把我的build-tools更新了下。
- parseSdkContent failed Could not initialize class android.graphics.Typeface
- parseSdkContent failed Could not initialize class android.graphics.Typeface
- parseSdkContent failed Could not initialize class android.graphics.Typeface
- parseSdkContent failed Could not initialize class android.graphics.Typeface异常
- parseSdkContent failed Could not initialize class android.graphics.Typeface
- parseSdkContent failed Could not initialize class android.graphics.Typeface
- Android 5.0 parseSdkContent failed Could not initialize class android.graphics.Typeface
- Android 5.0 parseSdkContent failed Could not initialize class android.graphics.Typeface
- 创建Android 项目,遇到parseSdkContent failed Could not initialize class android.graphics.Typeface
- 关于 parseSdkContent failed Could not initialize class android.graphics.Typeface 报错
- Eclipse中安卓开发遇到parseSdkContent failed Could not initialize class android.graphics.Typeface问题
- Eclipse中安卓开发遇到parseSdkContent failed Could not initialize class android.graphics.Typeface问题
- Eclipse中安卓开发遇到parseSdkContent failed Could not initialize class android.graphics.Typeface问题
- eclipse错误:parseSdkContent failed Could not initialize class android.graphics
- parseSdkContent failed Could not initialize class android.graphics
- parseSdkContent failed Could not initialize class android.graphics
- 解决"Could not initialize class android.graphics.Typeface"
- 解决"Could not initialize class android.graphics.Typeface"
- 解决HashMap并发问题
- 小雨 20℃ 3.30日
- redis(二)redis+TCMALLOC高性能的缓存服务器的安装配置
- 使用ThinkPHP上传类处理KindEditor上传的图片
- MYSQL的常用命令和增删改查语句和数据类型
- Android 5.0 parseSdkContent failed Could not initialize class android.graphics.Typeface
- redis(一)简介
- Android 应用发布全攻略
- makefile编译时候出现:commands commence before first target
- 【dotnet跨平台】VSCode Linux 32位和Linux 64位下载地址分享
- Android dumpsys命令学习小记
- 欢迎使用CSDN-markdown编辑器
- java 垃圾回收机制
- Dalvik与JVM的区别