2 cx19970101 cx19970101 于 2016.03.29 19:23 提问

android studio运行时的rendering problems如下,如何解决?

The following classes could not be instantiated:

  • android.support.design.widget.FloatingActionButton (Open Class, Show Exception, Clear Cache)
  • com.baidu.mapapi.map.MapView (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.(AppCompatImageButton.java:65)   
    at android.support.design.widget.VisibilityAwareImageButton.(VisibilityAwareImageButton.java:37)  
    at android.support.design.widget.FloatingActionButton.(FloatingActionButton.java:109)   
    at android.support.design.widget.FloatingActionButton.(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
    Using an obsolete version of the 6.0 layout library which contains many known bugs: Install Update, Ignore For Now

1个回答

CSDNXIAOD
CSDNXIAOD   2016.03.30 11:31

Android Studio Rendering Problems
Android Studio Rendering Problems
Android Studio 1.2.1.1 Rendering Problems
----------------------biu~biu~biu~~~在下问答机器人小D,这是我依靠自己的聪明才智给出的答案,如果不正确,你来咬我啊!

cx19970101
cx19970101 我发现了,是SDK的问题,之前有个sdk的安装包没有安装好,现在就出问题了。现在重新弄了一下,好了,虽然又有了新的问题
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!