Android L parseSdkContent failed无法初始化类android.graphics.Typeface [英] Android L parseSdkContent failed Could not initialize class android.graphics.Typeface

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

问题描述

最近好,我更新到了Android L sdk。现在每当我打开新的项目对话框,我得到这个错误。

parseSdkContent失败
无法初始化类android.graphics.Typeface



我已经看到很多问题我已经尝试删除文件夹C中的.android并重新启动了eclipse。

  • 我也尝试通过Help->在Eclipse中安装新软件重新安装新版本的Android ADT插件,如http:\developer.android.com / sdk /installing/installing-adt.html

  • 每当我检查Eclipse中的新更新时,它会显示No New Updates Found。



  • 但是我仍然收到相同的错误。

    解决方案

    更新问题可能是相关的对于您的parseSdkContent问题,因为ADT捆绑包中的更新机制已损坏(评论66 )。这意味着Eclipse没有更新为与新的Android兼容



    当我想更新我的Eclipse来准备Android L时,我遇到了同样的问题,所以我下载了新的adt zip,然后来了另一个错误,删除我的.android文件夹后,我不再有问题。



    新的包可以在Android开发人员网站,这里是链接: Android开发人员网站


    Hello recently i updated to Android L sdk. Now whenever i open new project dialog i'm getting this error.

    parseSdkContent failed Could not initialize class android.graphics.Typeface

    I have seen many questions already answered on stackoverflow but the solutions mentioned didn't work for me.

    • I have tried deleting the .android in folder C: drive and restarted eclipse.
    • I have also tried re-installing the new version of Android ADT plugin through Help->Install New Software in Eclipse as mentioned at http:\developer.android.com/sdk/installing/installing-adt.html
    • Whenever i check for new updates in Eclipse it shows "No New Updates Found".

    But still i'm getting the same error.

    解决方案

    The update issue is probably related to your parseSdkContent issue, since "the update mechanism in the ADT bundle is broken" (Comment 66). This means that Eclipse have not updated to be compatible with the new Android

    I had the same problem when I wanted to update my Eclipse to prepare it for Android L, so I downloaded the new adt zip, then came accross the other error, and after deleting my .android folder, I am no longer having issues.

    The new bundle can be found on the android developer site, and here is the link: Android developer site

    这篇关于Android L parseSdkContent failed无法初始化类android.graphics.Typeface的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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