Gradle构建失败,并带有以下内容:java.lang.IndexOutOfBoundsException:索引:0,大小:0

时间:2018-10-09 01:34:17

标签: android gradle

我正在尝试构建>创建我的项目。我认为我的环境存在问题,因为我的同事能够克隆存储库并从主服务器构建。 Make project返回(前几行):

Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:653)
    at java.util.ArrayList.get(ArrayList.java:429)
    at com.intellij.openapi.editor.impl.view.TextLayoutCache.invalidateLines(TextLayoutCache.java:137)
    at com.intellij.openapi.editor.impl.view.TextLayoutCache.invalidateLines(TextLayoutCache.java:123)
    at com.intellij.openapi.editor.impl.view.EditorView.invalidateRange(EditorView.java:357)
    at com.intellij.openapi.editor.impl.EditorImpl$1.attributesChanged(EditorImpl.java:415)
    at com.intellij.openapi.editor.impl.EditorImpl$1.afterAdded(EditorImpl.java:381)
    at com.intellij.openapi.editor.impl.MarkupModelImpl.fireAfterAdded(MarkupModelImpl.java:224)

0 个答案:

没有答案