android studio build를 하면 아래 문구와 함께 run이 되지 않는다.
.
.
.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_13\bin\java.exe'' finished with non-zero exit value 3
접기
AGPBI: {"kind":"SIMPLE","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","position":{},"original":"warning: Ignoring InnerClasses attribute for an anonymous inner class"}
AGPBI: {"kind":"SIMPLE","text":"(org.apache.commons.compress.archivers.zip.ZipFile$2) that doesn\u0027t come with an","position":{},"original":"(org.apache.commons.compress.archivers.zip.ZipFile$2) that doesn\u0027t come with an"}
AGPBI: {"kind":"SIMPLE","text":"associated EnclosingMethod attribute. This class was probably produced by a","position":{},"original":"associated EnclosingMethod attribute. This class was probably produced by a"}
AGPBI: {"kind":"SIMPLE","text":"compiler that did not target the modern .class file format. The recommended","position":{},"original":"compiler that did not target the modern .class file format. The recommended"}
AGPBI: {"kind":"SIMPLE","text":"solution is to recompile the class from source, using an up-to-date compiler","position":{},"original":"solution is to recompile the class from source, using an up-to-date compiler"}
AGPBI: {"kind":"SIMPLE","text":"and without specifying any \"-target\" type options. The consequence of ignoring","position":{},"original":"and without specifying any \"-target\" type options. The consequence of ignoring"}
AGPBI: {"kind":"SIMPLE","text":"this warning is that reflective operations on this class will incorrectly","position":{},"original":"this warning is that reflective operations on this class will incorrectly"}
AGPBI: {"kind":"SIMPLE","text":"indicate that it is *not* an inner class.","position":{},"original":"indicate that it is *not* an inner class."}
AGPBI: {"kind":"SIMPLE","text":"java.lang.OutOfMemoryError: GC overhead limit exceeded","position":{},"original":"java.lang.OutOfMemoryError: GC overhead limit exceeded"}
AGPBI: {"kind":"SIMPLE","text":"\tat java.util.Arrays.copyOf(Arrays.java:2367)","position":{},"original":"\tat java.util.Arrays.copyOf(Arrays.java:2367)"}
AGPBI: {"kind":"SIMPLE","text":"\tat java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)","position":{},"original":"\tat java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)"}
AGPBI: {"kind":"SIMPLE","text":"\tat java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)","position":{},"original":"\tat java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)"}
AGPBI: {"kind":"SIMPLE","text":"\tat java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)","position":{},"original":"\tat java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)"}
AGPBI: {"kind":"SIMPLE","text":"\tat java.lang.StringBuilder.append(StringBuilder.java:132)","position":{},"original":"\tat java.lang.StringBuilder.append(StringBuilder.java:132)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.rop.type.Prototype.withFirstParameter(Prototype.java:370)","position":{},"original":"\tat com.android.dx.rop.type.Prototype.withFirstParameter(Prototype.java:370)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.rop.cst.CstBaseMethodRef.getPrototype(CstBaseMethodRef.java:81)","position":{},"original":"\tat com.android.dx.rop.cst.CstBaseMethodRef.getPrototype(CstBaseMethodRef.java:81)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.code.Simulator$SimVisitor.visitConstant(Simulator.java:653)","position":{},"original":"\tat com.android.dx.cf.code.Simulator$SimVisitor.visitConstant(Simulator.java:653)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:764)","position":{},"original":"\tat com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:764)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.code.Simulator.simulate(Simulator.java:94)","position":{},"original":"\tat com.android.dx.cf.code.Simulator.simulate(Simulator.java:94)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.code.Ropper.processBlock(Ropper.java:787)","position":{},"original":"\tat com.android.dx.cf.code.Ropper.processBlock(Ropper.java:787)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.code.Ropper.doit(Ropper.java:742)","position":{},"original":"\tat com.android.dx.cf.code.Ropper.doit(Ropper.java:742)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.code.Ropper.convert(Ropper.java:349)","position":{},"original":"\tat com.android.dx.cf.code.Ropper.convert(Ropper.java:349)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:280)","position":{},"original":"\tat com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:280)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:137)","position":{},"original":"\tat com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:137)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:93)","position":{},"original":"\tat com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:93)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.processClass(Main.java:729)","position":{},"original":"\tat com.android.dx.command.dexer.Main.processClass(Main.java:729)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)","position":{},"original":"\tat com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.access$300(Main.java:83)","position":{},"original":"\tat com.android.dx.command.dexer.Main.access$300(Main.java:83)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)","position":{},"original":"\tat com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)","position":{},"original":"\tat com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)","position":{},"original":"\tat com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)","position":{},"original":"\tat com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.processOne(Main.java:632)","position":{},"original":"\tat com.android.dx.command.dexer.Main.processOne(Main.java:632)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:505)","position":{},"original":"\tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:505)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.runMultiDex(Main.java:334)","position":{},"original":"\tat com.android.dx.command.dexer.Main.runMultiDex(Main.java:334)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.run(Main.java:244)","position":{},"original":"\tat com.android.dx.command.dexer.Main.run(Main.java:244)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.dexer.Main.main(Main.java:215)","position":{},"original":"\tat com.android.dx.command.dexer.Main.main(Main.java:215)"}
AGPBI: {"kind":"SIMPLE","text":"\tat com.android.dx.command.Main.main(Main.java:106)","position":{},"original":"\tat com.android.dx.command.Main.main(Main.java:106)"}
접기 eclipse에서도 이와 같은 증상이 있었다. 문구는 달랐지만, 그때 java의 heap size를 늘려주면 해결이 됐었다. 이것도 똑같은 문제.