I recently updated our project to 12.1 and decided I wanted to try
AndroidStudio again (Had it working a while back, but haven't tried
recently). I downloaded a new version of studio and tried importing our
project, and got an IndexOutOfBoundsException. The error on screen was
"Wrong offset: 958: Should be in range: [0,115]"
Top of stack trace:
[ 72156] ERROR - .project.GradleProjectImporter - Wrong offset: 958.
Should be in range: [0, 115]
java.lang.IndexOutOfBoundsException: Wrong offset: 958. Should be in range:
[0, 115]
at
com.intellij.openapi.editor.ex.util.SegmentArray.offsetOutOfRange(SegmentArray.java:92)
at
com.intellij.openapi.editor.ex.util.SegmentArray.findSegmentIndex(SegmentArray.java:102)
at
com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:40)
at
com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:888)
at
com.android.tools.idea.gradle.project.ProjectValidator$MyLintClient.report(ProjectValidator.java:144)
at
com.android.tools.lint.client.api.LintDriver$LintClientWrapper.report(LintDriver.java:1999)
at com.android.tools.lint.detector.api.Context.report(Context.java:286)
I tried running as root, as well as both 0.8.0, and 0.8.2. No luck.
Is my project just too big/Lintastic? :(
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.