Android Question Dropbox SDK library compile error

trueboss323

Active Member
Licensed User
Longtime User
Hey, I am using @DonManfred 's Dropbox SDK V2 library. I wrote a small program just for testing the library. Then when I try to compile I am getting this error:
B4A Version: 8.30
Parsing code. (0.00s)
Compiling code. (0.10s)
Compiling layouts code. (0.00s)
Organizing libraries. (1.48s)
Generating R file. (0.37s)
Compiling debugger engine code. (0.67s)
Compiling generated Java code. (0.92s)
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.android.dx.command.dexer.Main$DirectClassFileConsumer.call(Main.java:1932)
at com.android.dx.command.dexer.Main$DirectClassFileConsumer.access$2(Main.java:1863)
at com.android.dx.command.dexer.Main.processClass(Main.java:833)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:802)
at com.android.dx.command.dexer.Main.access$3(Main.java:773)
at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1775)
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:756)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:638)
at com.android.dx.command.dexer.Main.runMultiDex(Main.java:370)
at com.android.dx.command.dexer.Main.runDx(Main.java:291)
at com.android.dx.command.dexer.Main.main(Main.java:249)
at com.android.dx.command.Main.main(Main.java:94)
 

DonManfred

Expert
Licensed User
Longtime User
you can try to give more memory to java
Also try to add
B4X:
#MultiDex: true
 
Upvote 0
Top