我刚刚安装了AndroID Studio但是当我开始时它告诉我:
呈现问题无法实例化以下类:
androID.support.design.Widget.floatingActionbutton (Open Class,Show Exception,Clear Cache) Tip: Use VIEw.isInEditMode() in your custom vIEws to skip code or show sample data when shown in the IDE Exception Details androID.content.res.Resources$NotFoundException: Unable to find resource ID #0x1080029 at androID.content.res.Resources.getResourcename(Resources.java:2235) at androID.content.res.Resources.loadDrawableForcookie(Resources.java:2602) at androID.content.res.Resources.loadDrawable(Resources.java:2540) at androID.content.res.Resources.getDrawable(Resources.java:806) at androID.content.Context.getDrawable(Context.java:458) at androID.support.v4.content.ContextCompatAPI21.getDrawable(ContextCompatAPI21.java:26) at androID.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:321) at androID.support.v7.Widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:180) at androID.support.v7.Widget.TintTypedArray.getDrawableIfKNown(TintTypedArray.java:70) at androID.support.v7.Widget.AppCompatimageHelper.loadFromAttributes(AppCompatimageHelper.java:39) at androID.support.v7.Widget.AppCompatimagebutton.<init>(AppCompatimagebutton.java:65) at androID.support.design.Widget.VisibilityAwareImagebutton.<init>(VisibilityAwareImagebutton.java:37) at androID.support.design.Widget.floatingActionbutton.<init>(floatingActionbutton.java:109) at androID.support.design.Widget.floatingActionbutton.<init>(floatingActionbutton.java:105) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at androID.vIEw.LayoutInflater.createVIEwFromTag(LayoutInflater.java:704) at androID.vIEw.LayoutInflater.rInflate_Original(LayoutInflater.java:835) at androID.vIEw.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70) at androID.vIEw.LayoutInflater.rInflate(LayoutInflater.java:811) at androID.vIEw.LayoutInflater.rInflateChildren(LayoutInflater.java:798) at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:515) at androID.vIEw.LayoutInflater.inflate(LayoutInflater.java:394) copy stack to clipboard
我能做什么?
解决方法 仅更新SDK将解决问题.您可以通过AndroID studio更新SDK->帮助 – >检查更新 – >然后单击立即更新或打开SDK文件夹并手动运行’SDK Manager.exe’并更新所有可用的SDK更新.有时AndroID工作室会更新,但SDK不会.手动更新SDK. (在桌面上保留’SDK Manager.exe’的快捷方式将是一个有用的提醒). 总结以上是内存溢出为你收集整理的Android Studio,渲染问题全部内容,希望文章能够帮你解决Android Studio,渲染问题所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)