parseSdkContent failed Could not initialize class android.graphics.Typeface
16lz
2021-01-26
在stackoverflow找到的答案,下面意思就是说:
1、如果你Eclipse中有两个以上的项目,请确保他们使用的SDK版本一致。
2、要不然,你就在打开第二个项目之前先删除.android文件夹。
3、好像只有使用了androidL、5.0时才会出现这个问题,不用之。
When I open layout editor,eclipseis 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 thehome/.android
folder and everything is normal now.
InWindowsyou can find this folder inC:/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.
Source: http://stackoverflow.com/questions/24636393/parsesdkcontent-failed-could-not-initialize-class-android-graphics-typeface
更多相关文章
- Android(安卓)development with maven
- Android图片加载后变小
- android values-v11和values-v14文件夹是干啥的?
- Android(安卓)Studio 新导入项目时各种报错及解决__2019.08.20
- Android(安卓)国际化 语言相关 和 打包 多渠道配置
- Ubuntu Linux14 64位下在Android(安卓)studio下用gradle编译Andr
- Android(安卓)studio3.0上运行opencv3.2.0自带人脸识别实例Demo
- Android使用selector点击按钮文字变色
- Android(安卓)打包aar给unity3d使用 项目心得