今天,当我尝试从 InteliJ Idea 编译我的 Adobe Air 应用程序时,我随机开始收到以下错误。
Failed to package AIR application FARQAndroidFree.apk:
dx tool failed:
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOf(Arrays.java:3181)
at java.util.ArrayList.grow(ArrayList.java:261)
at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
at java.util.ArrayList.add(ArrayList.java:458)
at com.android.dx.ssa.Dominators$DfsWalker.visitBlock(Dominators.java:263)
at com.android.dx.ss...
[Full error message]
[ADT command line]
我正在使用 Adobe AIR SDK 28