尝试使用Android Studio渲染时的StackOverflow

时间:2014-12-23 16:19:40

标签: android android-studio stack-overflow

我正在尝试根据Google Maps活动开发应用,并且在尝试在Android Studio中查看布局时,它会报告存在渲染错误并且存在堆栈溢出,其详细信息已显示下面:

java.lang.StackOverflowError
    at com.android.tools.idea.rendering.LayoutlibCallback.loadView(LayoutlibCallback.java:160)
    at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:207)
    at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:132)
    at android.view.LayoutInflater_Delegate.parseInclude(LayoutInflater_Delegate.java:117)
    at android.view.LayoutInflater.parseInclude(LayoutInflater.java:858)
    at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:802)
    at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:782)
    at android.view.LayoutInflater_Delegate.parseInclude(LayoutInflater_Delegate.java:154)
    at android.view.LayoutInflater.parseInclude(LayoutInflater.java:858)
    at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:802)
    at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:782)
    at android.view.LayoutInflater_Delegate.parseInclude(LayoutInflater_Delegate.java:154)
    at android.view.LayoutInflater.parseInclude(LayoutInflater.java:858)
    at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:802)
    at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:782)
    ...

我是Android开发人员的新手,并不真正理解为什么这不起作用。我在下面附上了一个截图,以帮助说明问题:

Android Studio Screenshot

有什么关于如何解决这类问题,我的研究没有找到任何东西。我正在运行Android Studio 1.0.2版。

0 个答案:

没有答案