Android Question Incompatible libraries Parse (version: 1.20) and GoogleMaps (version: 1.01)

Discussion in 'Android Questions' started by msawada, Apr 13, 2015.

  1. msawada

    msawada Member Licensed User

    Hi Erel:
    I cannot get the Parse library and GoogleMaps library in the same project to compile. I have tried a number of ways, checked manifest for correct values and have both working well independently but when the two libraries are referenced in the same project I keep getting the following:

    B4A version 4.30
    Parsing code. 0.04
    Compiling code. 0.24
    Compiling layouts code. 0.09
    Generating R file. 0.04
    Compiling debugger engine code. 1.08
    Compiling generated Java code. 1.02
    Convert byte code - optimized dex. Error
    UNEXPECTED TOP-LEVEL ERROR:
    java.lang.OutOfMemoryError: GC overhead limit exceeded
    at com.android.dx.util.FixedSizeList.<init>(FixedSizeList.java:38)
    at com.android.dx.rop.code.RegisterSpecList.<init>(RegisterSpecList.java:102)
    at com.android.dx.rop.code.RegisterSpecList.make(RegisterSpecList.java:39)
    at com.android.dx.rop.code.PlainInsn.<init>(PlainInsn.java:68)
    at com.android.dx.cf.code.RopperMachine.run(RopperMachine.java:598)
    at com.android.dx.cf.code.Simulator$SimVisitor.visitNoArgs(Simulator.java:521)
    at com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:740)
    at com.android.dx.cf.code.Simulator.simulate(Simulator.java:94)
    at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:787)
    at com.android.dx.cf.code.Ropper.doit(Ropper.java:742)
    at com.android.dx.cf.code.Ropper.convert(Ropper.java:349)
    at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:280)
    at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:137)
    at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:93)
    at com.android.dx.command.dexer.Main.processClass(Main.java:729)
    at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
    at com.android.dx.command.dexer.Main.access$300(Main.java:83)
    at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
    at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
    at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
    at com.android.dx.command.dexer.Main.processOne(Main.java:632)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
    at com.android.dx.command.dexer.Main.run(Main.java:246)
    at com.android.dx.command.dexer.Main.main(Main.java:215)
    at com.android.dx.command.Main.main(Main.java:106)
    Optimized dexer failed. Switching to Standard dexer.

    Any thoughts?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. msawada

    msawada Member Licensed User

    Thank you very much Erel. I had searched for a solution but didn't come across that thread. It seems to compile now just fine.:)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice