" parseSdkContent失败无法初始化类android.graphics.Typeface"在SDK的Andorid 5.0 [英] "parseSdkContent failed Could not initialize class android.graphics.Typeface" in SDK Andorid 5.0

查看:111
本文介绍了" parseSdkContent失败无法初始化类android.graphics.Typeface"在SDK的Andorid 5.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到下面的错误我更新后的 SDK的是Android 5.0(API 21)

I'm getting the below error after I update the SDK Android 5.0 (API 21)

"parseSdkContent failed Could not initialize class android.graphics.Typeface" 

另一个线程建议删除 .android 文件夹,是其作品,但一段时间后,这个错误将再次无法选择任何项目构建目标SDK触发,(它允许检查目标和适用,但再次打开属性 - >机器人,它显示未选中)来构建应用程序。

Another thread suggested to delete .android folder, yes its works, but after sometime this error will trigger again and not able to select any Project Build Target SDK, (its allows to check the target and apply, but again open Properties->android, its showing unchecked) to build the app.

我使用的是Android SDK中构建工具启19.1和Eclipse朱诺。 ADT版本23.0.4

I'm using Android SDK Build Tools Rev 19.1 and Eclipse Juno. ADT version 23.0.4

请注意:如果我的Andr​​oid项目的目标SDK版本是20或19,是没有问题的。

Note : If my Android Project target SDK version is 20 or 19, there is no problem.

推荐答案

这是Android包的错误,其损坏的Andr​​oid 5.0 SDK平台。只要删除该文件夹< SDK> /<平台> /< Android的21基。和SDK管理器下载了Android 5.0 SDK平台

This is android package error,its corrupted android 5.0 sdk platform. Just Delete the folder <sdk>/<platforms>/<android-21> and download the android 5.0 sdk platform from sdk manager.

这篇关于&QUOT; parseSdkContent失败无法初始化类android.graphics.Typeface&QUOT;在SDK的Andorid 5.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆