It is currently 19 Apr 2024, 09:53
   
Text Size

Forge Android App

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Forge Android App

Postby KrazyTheFox » 21 Sep 2014, 15:15

Agetian wrote:
KrazyTheFox wrote:Updating my SDK now; will publish a build after I take a shower.
I have already taken care of this, so no worries :)

- Agetian
Ah, well in that case! I shall go continue getting ready for a couple of pre-releases. :P
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Android App

Postby elcnesh » 09 Dec 2014, 16:49

Dan, can we update libgdx to 1.4.1? It's got better support for iOS. Not that that's working already, but it probably doesn't hurt to update anyway. I'll leave the decision/testing/committing to you, as I don't want to screw up the Android builds ;)
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby drdev » 09 Dec 2014, 18:18

elcnesh wrote:Dan, can we update libgdx to 1.4.1? It's got better support for iOS. Not that that's working already, but it probably doesn't hurt to update anyway. I'll leave the decision/testing/committing to you, as I don't want to screw up the Android builds ;)
I don't see why not. I've updated libgdx once before since the initial Alpha release and that went fine. Let me know when you're done and I'll test it out to be sure it doesn't break the Android build.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby elcnesh » 09 Dec 2014, 18:46

Done. I gave the android simulator a quick test and it works fine, hopefully the same holds for the actual android build.
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby drdev » 11 Dec 2014, 23:31

I can't publish on Android. It appears you didn't update any of the files in the libs directory of forge-gui-android, forge-gui-mobile, and forge-gui-mobile-dev.

Also, I saw that libgdx 1.5.0 was just released. Should we update to that instead?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby elcnesh » 12 Dec 2014, 07:17

Ah, I knew I forgot something... I'll try updating to 1.5.0 (including those files!) today.
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby elcnesh » 12 Dec 2014, 11:12

Ok, fixed! Can you verify it compiles now?

Unfortunately, the iOS version isn't compiling any more... Both RoboVM and GDX are so heavily under development that things break often. I think waiting a few weeks should help a lot here.
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby drdev » 12 Dec 2014, 16:37

Still failing. Can you try building it using this Maven command?

-U -B -e clean -P android-debug install
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby elcnesh » 13 Dec 2014, 17:00

I found the problem – somehow the build now requires Maven 3.1. Using that, it works just fine. Could you give that a try? (I'm not sure why it requires that, but I don't see any problem with it. If it is somehow a problem, let's just revert the libraries and requirements to GDX 1.2, since the iOS build isn't working right now anyway...)
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby drdev » 14 Dec 2014, 17:48

elcnesh wrote:I found the problem – somehow the build now requires Maven 3.1. Using that, it works just fine. Could you give that a try? (I'm not sure why it requires that, but I don't see any problem with it. If it is somehow a problem, let's just revert the libraries and requirements to GDX 1.2, since the iOS build isn't working right now anyway...)
How do I make it use Maven 3.1? I get this warning when I try to specify version 3.1 in the pom.xml, and then it still fails. Were you able to get it to work?

"Overriding managed version 3.1 for maven-compiler-plugin"
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby elcnesh » 14 Dec 2014, 19:03

I installed maven3.1 from my package manager, after which it was available through the command "mvn31" on the command line. Maybe someone can comment on how to do this on Windows? (I presume that's your platform Dan?) I don't know and can't test it myself since I don't have it... Shouldn't be too hard I hope.
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby drdev » 14 Dec 2014, 19:04

So it appears I'm already on Maven 3.1.1. But I did just discover the actual problem, which is that, yet again, Forge has gotten too complex to build a .apk for:

[INFO] trouble writing output: Too many method references: 66826; max is 65536.
[INFO] You may try using --multi-dex option.
References by package | Open
[INFO] 22 android.app
[INFO] 31 android.content
[INFO] 1 android.content.pm
[INFO] 8 android.content.res
[INFO] 7 android.hardware
[INFO] 45 android.media
[INFO] 6 android.net
[INFO] 102 android.opengl
[INFO] 15 android.os
[INFO] 5 android.service.dreams
[INFO] 12 android.service.wallpaper
[INFO] 12 android.support.v4.app
[INFO] 2 android.text
[INFO] 1 android.text.method
[INFO] 9 android.util
[INFO] 54 android.view
[INFO] 5 android.view.inputmethod
[INFO] 3 android.webkit
[INFO] 20 android.widget
[INFO] 297 com.badlogic.gdx
[INFO] 66 com.badlogic.gdx.assets
[INFO] 100 com.badlogic.gdx.assets.loaders
[INFO] 13 com.badlogic.gdx.assets.loaders.resolvers
[INFO] 40 com.badlogic.gdx.audio
[INFO] 888 com.badlogic.gdx.backends.android
[INFO] 179 com.badlogic.gdx.backends.android.surfaceview
[INFO] 75 com.badlogic.gdx.files
[INFO] 813 com.badlogic.gdx.graphics
[INFO] 873 com.badlogic.gdx.graphics.g2d
[INFO] 171 com.badlogic.gdx.graphics.g2d.freetype
[INFO] 174 com.badlogic.gdx.graphics.g3d
[INFO] 94 com.badlogic.gdx.graphics.g3d.attributes
[INFO] 119 com.badlogic.gdx.graphics.g3d.decals
[INFO] 59 com.badlogic.gdx.graphics.g3d.environment
[INFO] 33 com.badlogic.gdx.graphics.g3d.loader
[INFO] 22 com.badlogic.gdx.graphics.g3d.model
[INFO] 16 com.badlogic.gdx.graphics.g3d.model.data
[INFO] 252 com.badlogic.gdx.graphics.g3d.particles
[INFO] 80 com.badlogic.gdx.graphics.g3d.particles.batches
[INFO] 50 com.badlogic.gdx.graphics.g3d.particles.emitters
[INFO] 234 com.badlogic.gdx.graphics.g3d.particles.influencers
[INFO] 40 com.badlogic.gdx.graphics.g3d.particles.renderers
[INFO] 140 com.badlogic.gdx.graphics.g3d.particles.values
[INFO] 163 com.badlogic.gdx.graphics.g3d.shaders
[INFO] 378 com.badlogic.gdx.graphics.g3d.utils
[INFO] 395 com.badlogic.gdx.graphics.glutils
[INFO] 423 com.badlogic.gdx.graphics.profiling
[INFO] 110 com.badlogic.gdx.input
[INFO] 8 com.badlogic.gdx.jnigen
[INFO] 65 com.badlogic.gdx.maps
[INFO] 37 com.badlogic.gdx.maps.objects
[INFO] 132 com.badlogic.gdx.maps.tiled
[INFO] 58 com.badlogic.gdx.maps.tiled.renderers
[INFO] 29 com.badlogic.gdx.maps.tiled.tiles
[INFO] 992 com.badlogic.gdx.math
[INFO] 70 com.badlogic.gdx.math.collision
[INFO] 39 com.badlogic.gdx.net
[INFO] 293 com.badlogic.gdx.scenes.scene2d
[INFO] 352 com.badlogic.gdx.scenes.scene2d.actions
[INFO] 1572 com.badlogic.gdx.scenes.scene2d.ui
[INFO] 302 com.badlogic.gdx.scenes.scene2d.utils
[INFO] 2000 com.badlogic.gdx.utils
[INFO] 13 com.badlogic.gdx.utils.async
[INFO] 12 com.badlogic.gdx.utils.compression
[INFO] 39 com.badlogic.gdx.utils.compression.lz
[INFO] 86 com.badlogic.gdx.utils.compression.lzma
[INFO] 35 com.badlogic.gdx.utils.compression.rangecoder
[INFO] 78 com.badlogic.gdx.utils.reflect
[INFO] 79 com.badlogic.gdx.utils.viewport
[INFO] 2 com.bea.xml.stream
[INFO] 2 com.ctc.wstx.stax
[INFO] 33 com.esotericsoftware.minlog
[INFO] 3 com.google.common.annotations
[INFO] 829 com.google.common.base
[INFO] 7 com.google.common.base.internal
[INFO] 851 com.google.common.cache
[INFO] 8227 com.google.common.collect
[INFO] 74 com.google.common.escape
[INFO] 65 com.google.common.eventbus
[INFO] 463 com.google.common.hash
[INFO] 3 com.google.common.html
[INFO] 690 com.google.common.io
[INFO] 102 com.google.common.math
[INFO] 142 com.google.common.net
[INFO] 557 com.google.common.primitives
[INFO] 503 com.google.common.reflect
[INFO] 1075 com.google.common.util.concurrent
[INFO] 4 com.google.common.xml
[INFO] 285 com.google.gson
[INFO] 5 com.google.gson.annotations
[INFO] 200 com.google.gson.internal
[INFO] 284 com.google.gson.internal.bind
[INFO] 18 com.google.gson.reflect
[INFO] 89 com.google.gson.stream
[INFO] 17 com.google.thirdparty.publicsuffix
[INFO] 4 com.sun.org.apache.xpath.internal
[INFO] 4 com.sun.org.apache.xpath.internal.objects
[INFO] 151 com.thoughtworks.xstream
[INFO] 31 com.thoughtworks.xstream.annotations
[INFO] 40 com.thoughtworks.xstream.converters
[INFO] 79 com.thoughtworks.xstream.converters.basic
[INFO] 91 com.thoughtworks.xstream.converters.collections
[INFO] 30 com.thoughtworks.xstream.converters.enums
[INFO] 186 com.thoughtworks.xstream.converters.extended
[INFO] 66 com.thoughtworks.xstream.converters.javabean
[INFO] 227 com.thoughtworks.xstream.converters.reflection
[INFO] 154 com.thoughtworks.xstream.core
[INFO] 365 com.thoughtworks.xstream.core.util
[INFO] 96 com.thoughtworks.xstream.io
[INFO] 111 com.thoughtworks.xstream.io.binary
[INFO] 2 com.thoughtworks.xstream.io.copy
[INFO] 93 com.thoughtworks.xstream.io.json
[INFO] 21 com.thoughtworks.xstream.io.naming
[INFO] 30 com.thoughtworks.xstream.io.path
[INFO] 614 com.thoughtworks.xstream.io.xml
[INFO] 29 com.thoughtworks.xstream.io.xml.xppdom
[INFO] 283 com.thoughtworks.xstream.mapper
[INFO] 80 com.thoughtworks.xstream.persistence
[INFO] 56 com.thoughtworks.xstream.security
[INFO] 8 default
[INFO] 288 forge
[INFO] 183 forge.achievement
[INFO] 557 forge.ai
[INFO] 787 forge.ai.ability
[INFO] 71 forge.animation
[INFO] 34 forge.app
[INFO] 236 forge.assets
[INFO] 776 forge.card
[INFO] 63 forge.card.mana
[INFO] 151 forge.control
[INFO] 771 forge.deck
[INFO] 81 forge.deck.generation
[INFO] 76 forge.deck.io
[INFO] 47 forge.download
[INFO] 48 forge.error
[INFO] 9 forge.events
[INFO] 521 forge.game
[INFO] 103 forge.game.ability
[INFO] 577 forge.game.ability.effects
[INFO] 1268 forge.game.card
[INFO] 194 forge.game.combat
[INFO] 474 forge.game.cost
[INFO] 190 forge.game.event
[INFO] 78 forge.game.keyword
[INFO] 113 forge.game.mana
[INFO] 124 forge.game.phase
[INFO] 498 forge.game.player
[INFO] 129 forge.game.replacement
[INFO] 685 forge.game.spellability
[INFO] 55 forge.game.staticability
[INFO] 448 forge.game.trigger
[INFO] 124 forge.game.zone
[INFO] 49 forge.gauntlet
[INFO] 92 forge.interfaces
[INFO] 205 forge.item
[INFO] 644 forge.itemmanager
[INFO] 203 forge.itemmanager.filters
[INFO] 259 forge.itemmanager.views
[INFO] 171 forge.limited
[INFO] 90 forge.match
[INFO] 349 forge.match.input
[INFO] 160 forge.menu
[INFO] 91 forge.model
[INFO] 30 forge.net
[INFO] 15 forge.net.client
[INFO] 7 forge.net.client.state
[INFO] 8 forge.net.protocol
[INFO] 13 forge.net.protocol.toclient
[INFO] 10 forge.net.protocol.toserver
[INFO] 225 forge.planarconquest
[INFO] 355 forge.player
[INFO] 76 forge.properties
[INFO] 472 forge.quest
[INFO] 101 forge.quest.bazaar
[INFO] 123 forge.quest.data
[INFO] 60 forge.quest.io
[INFO] 155 forge.screens
[INFO] 175 forge.screens.constructed
[INFO] 95 forge.screens.gauntlet
[INFO] 19 forge.screens.home
[INFO] 79 forge.screens.limited
[INFO] 132 forge.screens.match
[INFO] 542 forge.screens.match.views
[INFO] 76 forge.screens.match.winlose
[INFO] 225 forge.screens.planarconquest
[INFO] 442 forge.screens.quest
[INFO] 139 forge.screens.settings
[INFO] 2 forge.server
[INFO] 108 forge.sound
[INFO] 1144 forge.toolbox
[INFO] 211 forge.trackable
[INFO] 420 forge.util
[INFO] 57 forge.util.gui
[INFO] 95 forge.util.maps
[INFO] 69 forge.util.storage
[INFO] 166 freemarker.cache
[INFO] 2163 freemarker.core
[INFO] 49 freemarker.debug
[INFO] 181 freemarker.debug.impl
[INFO] 37 freemarker.ext.ant
[INFO] 366 freemarker.ext.beans
[INFO] 148 freemarker.ext.dom
[INFO] 121 freemarker.ext.jdom
[INFO] 284 freemarker.ext.jsp
[INFO] 78 freemarker.ext.jython
[INFO] 28 freemarker.ext.rhino
[INFO] 78 freemarker.ext.servlet
[INFO] 76 freemarker.ext.util
[INFO] 176 freemarker.ext.xml
[INFO] 135 freemarker.log
[INFO] 380 freemarker.template
[INFO] 262 freemarker.template.utility
[INFO] 8 java.awt
[INFO] 20 java.beans
[INFO] 332 java.io
[INFO] 553 java.lang
[INFO] 1 java.lang.annotation
[INFO] 4 java.lang.management
[INFO] 12 java.lang.ref
[INFO] 93 java.lang.reflect
[INFO] 50 java.math
[INFO] 127 java.net
[INFO] 78 java.nio
[INFO] 53 java.nio.channels
[INFO] 6 java.nio.charset
[INFO] 2 java.rmi
[INFO] 5 java.rmi.server
[INFO] 40 java.security
[INFO] 21 java.security.cert
[INFO] 43 java.sql
[INFO] 74 java.text
[INFO] 629 java.util
[INFO] 181 java.util.concurrent
[INFO] 45 java.util.concurrent.atomic
[INFO] 40 java.util.concurrent.locks
[INFO] 16 java.util.jar
[INFO] 11 java.util.logging
[INFO] 28 java.util.regex
[INFO] 49 java.util.zip
[INFO] 5 javax.crypto
[INFO] 2 javax.crypto.spec
[INFO] 14 javax.el
[INFO] 1 javax.imageio
[INFO] 15 javax.microedition.khronos.egl
[INFO] 2 javax.microedition.khronos.opengles
[INFO] 2 javax.naming
[INFO] 81 javax.net.ssl
[INFO] 7 javax.security.auth
[INFO] 1 javax.security.cert
[INFO] 355 javax.servlet
[INFO] 51 javax.servlet.annotation
[INFO] 16 javax.servlet.descriptor
[INFO] 235 javax.servlet.http
[INFO] 17 javax.servlet.jsp
[INFO] 2 javax.servlet.jsp.el
[INFO] 17 javax.servlet.jsp.tagext
[INFO] 1 javax.sql
[INFO] 1 javax.swing
[INFO] 1 javax.swing.plaf
[INFO] 3 javax.swing.tree
[INFO] 2 javax.xml.datatype
[INFO] 5 javax.xml.namespace
[INFO] 16 javax.xml.parsers
[INFO] 32 javax.xml.stream
[INFO] 4 javax.xml.transform
[INFO] 1 javax.xml.transform.dom
[INFO] 1 javax.xml.transform.sax
[INFO] 3 javax.xml.transform.stream
[INFO] 12 net.sf.cglib.proxy
[INFO] 24 nu.xom
[INFO] 932 org.apache.commons.lang3
[INFO] 510 org.apache.commons.lang3.builder
[INFO] 120 org.apache.commons.lang3.concurrent
[INFO] 23 org.apache.commons.lang3.event
[INFO] 78 org.apache.commons.lang3.exception
[INFO] 98 org.apache.commons.lang3.math
[INFO] 184 org.apache.commons.lang3.mutable
[INFO] 162 org.apache.commons.lang3.reflect
[INFO] 379 org.apache.commons.lang3.text
[INFO] 66 org.apache.commons.lang3.text.translate
[INFO] 360 org.apache.commons.lang3.time
[INFO] 51 org.apache.commons.lang3.tuple
[INFO] 14 org.apache.commons.logging
[INFO] 15 org.apache.log
[INFO] 12 org.apache.log4j
[INFO] 11 org.apache.tools.ant
[INFO] 1 org.apache.tools.ant.taskdefs
[INFO] 4 org.apache.xpath
[INFO] 4 org.apache.xpath.objects
[INFO] 2 org.codehaus.jettison
[INFO] 10 org.codehaus.jettison.mapped
[INFO] 40 org.dom4j
[INFO] 15 org.dom4j.io
[INFO] 2 org.dom4j.tree
[INFO] 110 org.eclipse.jetty.continuation
[INFO] 461 org.eclipse.jetty.http
[INFO] 53 org.eclipse.jetty.http.gzip
[INFO] 3 org.eclipse.jetty.http.ssl
[INFO] 444 org.eclipse.jetty.io
[INFO] 59 org.eclipse.jetty.io.bio
[INFO] 292 org.eclipse.jetty.io.nio
[INFO] 3 org.eclipse.jetty.jmx
[INFO] 306 org.eclipse.jetty.security
[INFO] 173 org.eclipse.jetty.security.authentication
[INFO] 967 org.eclipse.jetty.server
[INFO] 44 org.eclipse.jetty.server.bio
[INFO] 581 org.eclipse.jetty.server.handler
[INFO] 10 org.eclipse.jetty.server.handler.jmx
[INFO] 3 org.eclipse.jetty.server.jmx
[INFO] 109 org.eclipse.jetty.server.nio
[INFO] 390 org.eclipse.jetty.server.session
[INFO] 3 org.eclipse.jetty.server.session.jmx
[INFO] 170 org.eclipse.jetty.server.ssl
[INFO] 465 org.eclipse.jetty.servlet
[INFO] 6 org.eclipse.jetty.servlet.jmx
[INFO] 9 org.eclipse.jetty.servlet.listener
[INFO] 640 org.eclipse.jetty.util
[INFO] 167 org.eclipse.jetty.util.ajax
[INFO] 114 org.eclipse.jetty.util.component
[INFO] 200 org.eclipse.jetty.util.log
[INFO] 22 org.eclipse.jetty.util.preventers
[INFO] 162 org.eclipse.jetty.util.resource
[INFO] 73 org.eclipse.jetty.util.security
[INFO] 123 org.eclipse.jetty.util.ssl
[INFO] 19 org.eclipse.jetty.util.statistic
[INFO] 126 org.eclipse.jetty.util.thread
[INFO] 687 org.eclipse.jetty.websocket
[INFO] 10 org.ietf.jgss
[INFO] 11 org.jaxen
[INFO] 2 org.jaxen.dom
[INFO] 1 org.jaxen.dom4j
[INFO] 1 org.jaxen.jdom
[INFO] 52 org.jdom
[INFO] 5 org.jdom.input
[INFO] 10 org.jdom.output
[INFO] 15 org.jdom2
[INFO] 5 org.jdom2.input
[INFO] 4 org.joda.time
[INFO] 43 org.joda.time.format
[INFO] 1 org.kxml2.io
[INFO] 2 org.mortbay.log
[INFO] 5 org.mortbay.util.ajax
[INFO] 11 org.mozilla.javascript
[INFO] 23 org.python.core
[INFO] 4 org.python.util
[INFO] 17 org.slf4j
[INFO] 2 org.slf4j.helpers
[INFO] 12 org.slf4j.spi
[INFO] 57 org.w3c.dom
[INFO] 1 org.w3c.dom.traversal
[INFO] 34 org.xml.sax
[INFO] 7 org.xml.sax.helpers
[INFO] 78 org.xmlpull.mxp1
[INFO] 47 org.xmlpull.v1
[INFO] 3 org.zeroturnaround.javarebel
[INFO] 17 sun.misc


I'm guessing that the new version of Gdx is mostly to blame. I'm going to see if there's a way to get a version of Gdx with fewer methods, particularly removing ones we don't need.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge Android App

Postby elcnesh » 14 Dec 2014, 19:26

Oh dear! Strange thing is that I didn't get that error... Maybe we can try removing (parts of) the forge-net package until it's functional? Also, there probably quite a few unused methods in Forge... Although 1000 is quite a lot.

How about that --multi-dex option, does it do anything? Or is it really a hard android limit?
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge Android App

Postby KrazyTheFox » 14 Dec 2014, 19:26

drdev wrote:So it appears I'm already on Maven 3.1.1. But I did just discover the actual problem, which is that, yet again, Forge has gotten too complex to build a .apk for:

[INFO] trouble writing output: Too many method references: 66826; max is 65536.
[INFO] You may try using --multi-dex option.
References by package | Open
[INFO] 22 android.app
[INFO] 31 android.content
[INFO] 1 android.content.pm
[INFO] 8 android.content.res
[INFO] 7 android.hardware
[INFO] 45 android.media
[INFO] 6 android.net
[INFO] 102 android.opengl
[INFO] 15 android.os
[INFO] 5 android.service.dreams
[INFO] 12 android.service.wallpaper
[INFO] 12 android.support.v4.app
[INFO] 2 android.text
[INFO] 1 android.text.method
[INFO] 9 android.util
[INFO] 54 android.view
[INFO] 5 android.view.inputmethod
[INFO] 3 android.webkit
[INFO] 20 android.widget
[INFO] 297 com.badlogic.gdx
[INFO] 66 com.badlogic.gdx.assets
[INFO] 100 com.badlogic.gdx.assets.loaders
[INFO] 13 com.badlogic.gdx.assets.loaders.resolvers
[INFO] 40 com.badlogic.gdx.audio
[INFO] 888 com.badlogic.gdx.backends.android
[INFO] 179 com.badlogic.gdx.backends.android.surfaceview
[INFO] 75 com.badlogic.gdx.files
[INFO] 813 com.badlogic.gdx.graphics
[INFO] 873 com.badlogic.gdx.graphics.g2d
[INFO] 171 com.badlogic.gdx.graphics.g2d.freetype
[INFO] 174 com.badlogic.gdx.graphics.g3d
[INFO] 94 com.badlogic.gdx.graphics.g3d.attributes
[INFO] 119 com.badlogic.gdx.graphics.g3d.decals
[INFO] 59 com.badlogic.gdx.graphics.g3d.environment
[INFO] 33 com.badlogic.gdx.graphics.g3d.loader
[INFO] 22 com.badlogic.gdx.graphics.g3d.model
[INFO] 16 com.badlogic.gdx.graphics.g3d.model.data
[INFO] 252 com.badlogic.gdx.graphics.g3d.particles
[INFO] 80 com.badlogic.gdx.graphics.g3d.particles.batches
[INFO] 50 com.badlogic.gdx.graphics.g3d.particles.emitters
[INFO] 234 com.badlogic.gdx.graphics.g3d.particles.influencers
[INFO] 40 com.badlogic.gdx.graphics.g3d.particles.renderers
[INFO] 140 com.badlogic.gdx.graphics.g3d.particles.values
[INFO] 163 com.badlogic.gdx.graphics.g3d.shaders
[INFO] 378 com.badlogic.gdx.graphics.g3d.utils
[INFO] 395 com.badlogic.gdx.graphics.glutils
[INFO] 423 com.badlogic.gdx.graphics.profiling
[INFO] 110 com.badlogic.gdx.input
[INFO] 8 com.badlogic.gdx.jnigen
[INFO] 65 com.badlogic.gdx.maps
[INFO] 37 com.badlogic.gdx.maps.objects
[INFO] 132 com.badlogic.gdx.maps.tiled
[INFO] 58 com.badlogic.gdx.maps.tiled.renderers
[INFO] 29 com.badlogic.gdx.maps.tiled.tiles
[INFO] 992 com.badlogic.gdx.math
[INFO] 70 com.badlogic.gdx.math.collision
[INFO] 39 com.badlogic.gdx.net
[INFO] 293 com.badlogic.gdx.scenes.scene2d
[INFO] 352 com.badlogic.gdx.scenes.scene2d.actions
[INFO] 1572 com.badlogic.gdx.scenes.scene2d.ui
[INFO] 302 com.badlogic.gdx.scenes.scene2d.utils
[INFO] 2000 com.badlogic.gdx.utils
[INFO] 13 com.badlogic.gdx.utils.async
[INFO] 12 com.badlogic.gdx.utils.compression
[INFO] 39 com.badlogic.gdx.utils.compression.lz
[INFO] 86 com.badlogic.gdx.utils.compression.lzma
[INFO] 35 com.badlogic.gdx.utils.compression.rangecoder
[INFO] 78 com.badlogic.gdx.utils.reflect
[INFO] 79 com.badlogic.gdx.utils.viewport
[INFO] 2 com.bea.xml.stream
[INFO] 2 com.ctc.wstx.stax
[INFO] 33 com.esotericsoftware.minlog
[INFO] 3 com.google.common.annotations
[INFO] 829 com.google.common.base
[INFO] 7 com.google.common.base.internal
[INFO] 851 com.google.common.cache
[INFO] 8227 com.google.common.collect
[INFO] 74 com.google.common.escape
[INFO] 65 com.google.common.eventbus
[INFO] 463 com.google.common.hash
[INFO] 3 com.google.common.html
[INFO] 690 com.google.common.io
[INFO] 102 com.google.common.math
[INFO] 142 com.google.common.net
[INFO] 557 com.google.common.primitives
[INFO] 503 com.google.common.reflect
[INFO] 1075 com.google.common.util.concurrent
[INFO] 4 com.google.common.xml
[INFO] 285 com.google.gson
[INFO] 5 com.google.gson.annotations
[INFO] 200 com.google.gson.internal
[INFO] 284 com.google.gson.internal.bind
[INFO] 18 com.google.gson.reflect
[INFO] 89 com.google.gson.stream
[INFO] 17 com.google.thirdparty.publicsuffix
[INFO] 4 com.sun.org.apache.xpath.internal
[INFO] 4 com.sun.org.apache.xpath.internal.objects
[INFO] 151 com.thoughtworks.xstream
[INFO] 31 com.thoughtworks.xstream.annotations
[INFO] 40 com.thoughtworks.xstream.converters
[INFO] 79 com.thoughtworks.xstream.converters.basic
[INFO] 91 com.thoughtworks.xstream.converters.collections
[INFO] 30 com.thoughtworks.xstream.converters.enums
[INFO] 186 com.thoughtworks.xstream.converters.extended
[INFO] 66 com.thoughtworks.xstream.converters.javabean
[INFO] 227 com.thoughtworks.xstream.converters.reflection
[INFO] 154 com.thoughtworks.xstream.core
[INFO] 365 com.thoughtworks.xstream.core.util
[INFO] 96 com.thoughtworks.xstream.io
[INFO] 111 com.thoughtworks.xstream.io.binary
[INFO] 2 com.thoughtworks.xstream.io.copy
[INFO] 93 com.thoughtworks.xstream.io.json
[INFO] 21 com.thoughtworks.xstream.io.naming
[INFO] 30 com.thoughtworks.xstream.io.path
[INFO] 614 com.thoughtworks.xstream.io.xml
[INFO] 29 com.thoughtworks.xstream.io.xml.xppdom
[INFO] 283 com.thoughtworks.xstream.mapper
[INFO] 80 com.thoughtworks.xstream.persistence
[INFO] 56 com.thoughtworks.xstream.security
[INFO] 8 default
[INFO] 288 forge
[INFO] 183 forge.achievement
[INFO] 557 forge.ai
[INFO] 787 forge.ai.ability
[INFO] 71 forge.animation
[INFO] 34 forge.app
[INFO] 236 forge.assets
[INFO] 776 forge.card
[INFO] 63 forge.card.mana
[INFO] 151 forge.control
[INFO] 771 forge.deck
[INFO] 81 forge.deck.generation
[INFO] 76 forge.deck.io
[INFO] 47 forge.download
[INFO] 48 forge.error
[INFO] 9 forge.events
[INFO] 521 forge.game
[INFO] 103 forge.game.ability
[INFO] 577 forge.game.ability.effects
[INFO] 1268 forge.game.card
[INFO] 194 forge.game.combat
[INFO] 474 forge.game.cost
[INFO] 190 forge.game.event
[INFO] 78 forge.game.keyword
[INFO] 113 forge.game.mana
[INFO] 124 forge.game.phase
[INFO] 498 forge.game.player
[INFO] 129 forge.game.replacement
[INFO] 685 forge.game.spellability
[INFO] 55 forge.game.staticability
[INFO] 448 forge.game.trigger
[INFO] 124 forge.game.zone
[INFO] 49 forge.gauntlet
[INFO] 92 forge.interfaces
[INFO] 205 forge.item
[INFO] 644 forge.itemmanager
[INFO] 203 forge.itemmanager.filters
[INFO] 259 forge.itemmanager.views
[INFO] 171 forge.limited
[INFO] 90 forge.match
[INFO] 349 forge.match.input
[INFO] 160 forge.menu
[INFO] 91 forge.model
[INFO] 30 forge.net
[INFO] 15 forge.net.client
[INFO] 7 forge.net.client.state
[INFO] 8 forge.net.protocol
[INFO] 13 forge.net.protocol.toclient
[INFO] 10 forge.net.protocol.toserver
[INFO] 225 forge.planarconquest
[INFO] 355 forge.player
[INFO] 76 forge.properties
[INFO] 472 forge.quest
[INFO] 101 forge.quest.bazaar
[INFO] 123 forge.quest.data
[INFO] 60 forge.quest.io
[INFO] 155 forge.screens
[INFO] 175 forge.screens.constructed
[INFO] 95 forge.screens.gauntlet
[INFO] 19 forge.screens.home
[INFO] 79 forge.screens.limited
[INFO] 132 forge.screens.match
[INFO] 542 forge.screens.match.views
[INFO] 76 forge.screens.match.winlose
[INFO] 225 forge.screens.planarconquest
[INFO] 442 forge.screens.quest
[INFO] 139 forge.screens.settings
[INFO] 2 forge.server
[INFO] 108 forge.sound
[INFO] 1144 forge.toolbox
[INFO] 211 forge.trackable
[INFO] 420 forge.util
[INFO] 57 forge.util.gui
[INFO] 95 forge.util.maps
[INFO] 69 forge.util.storage
[INFO] 166 freemarker.cache
[INFO] 2163 freemarker.core
[INFO] 49 freemarker.debug
[INFO] 181 freemarker.debug.impl
[INFO] 37 freemarker.ext.ant
[INFO] 366 freemarker.ext.beans
[INFO] 148 freemarker.ext.dom
[INFO] 121 freemarker.ext.jdom
[INFO] 284 freemarker.ext.jsp
[INFO] 78 freemarker.ext.jython
[INFO] 28 freemarker.ext.rhino
[INFO] 78 freemarker.ext.servlet
[INFO] 76 freemarker.ext.util
[INFO] 176 freemarker.ext.xml
[INFO] 135 freemarker.log
[INFO] 380 freemarker.template
[INFO] 262 freemarker.template.utility
[INFO] 8 java.awt
[INFO] 20 java.beans
[INFO] 332 java.io
[INFO] 553 java.lang
[INFO] 1 java.lang.annotation
[INFO] 4 java.lang.management
[INFO] 12 java.lang.ref
[INFO] 93 java.lang.reflect
[INFO] 50 java.math
[INFO] 127 java.net
[INFO] 78 java.nio
[INFO] 53 java.nio.channels
[INFO] 6 java.nio.charset
[INFO] 2 java.rmi
[INFO] 5 java.rmi.server
[INFO] 40 java.security
[INFO] 21 java.security.cert
[INFO] 43 java.sql
[INFO] 74 java.text
[INFO] 629 java.util
[INFO] 181 java.util.concurrent
[INFO] 45 java.util.concurrent.atomic
[INFO] 40 java.util.concurrent.locks
[INFO] 16 java.util.jar
[INFO] 11 java.util.logging
[INFO] 28 java.util.regex
[INFO] 49 java.util.zip
[INFO] 5 javax.crypto
[INFO] 2 javax.crypto.spec
[INFO] 14 javax.el
[INFO] 1 javax.imageio
[INFO] 15 javax.microedition.khronos.egl
[INFO] 2 javax.microedition.khronos.opengles
[INFO] 2 javax.naming
[INFO] 81 javax.net.ssl
[INFO] 7 javax.security.auth
[INFO] 1 javax.security.cert
[INFO] 355 javax.servlet
[INFO] 51 javax.servlet.annotation
[INFO] 16 javax.servlet.descriptor
[INFO] 235 javax.servlet.http
[INFO] 17 javax.servlet.jsp
[INFO] 2 javax.servlet.jsp.el
[INFO] 17 javax.servlet.jsp.tagext
[INFO] 1 javax.sql
[INFO] 1 javax.swing
[INFO] 1 javax.swing.plaf
[INFO] 3 javax.swing.tree
[INFO] 2 javax.xml.datatype
[INFO] 5 javax.xml.namespace
[INFO] 16 javax.xml.parsers
[INFO] 32 javax.xml.stream
[INFO] 4 javax.xml.transform
[INFO] 1 javax.xml.transform.dom
[INFO] 1 javax.xml.transform.sax
[INFO] 3 javax.xml.transform.stream
[INFO] 12 net.sf.cglib.proxy
[INFO] 24 nu.xom
[INFO] 932 org.apache.commons.lang3
[INFO] 510 org.apache.commons.lang3.builder
[INFO] 120 org.apache.commons.lang3.concurrent
[INFO] 23 org.apache.commons.lang3.event
[INFO] 78 org.apache.commons.lang3.exception
[INFO] 98 org.apache.commons.lang3.math
[INFO] 184 org.apache.commons.lang3.mutable
[INFO] 162 org.apache.commons.lang3.reflect
[INFO] 379 org.apache.commons.lang3.text
[INFO] 66 org.apache.commons.lang3.text.translate
[INFO] 360 org.apache.commons.lang3.time
[INFO] 51 org.apache.commons.lang3.tuple
[INFO] 14 org.apache.commons.logging
[INFO] 15 org.apache.log
[INFO] 12 org.apache.log4j
[INFO] 11 org.apache.tools.ant
[INFO] 1 org.apache.tools.ant.taskdefs
[INFO] 4 org.apache.xpath
[INFO] 4 org.apache.xpath.objects
[INFO] 2 org.codehaus.jettison
[INFO] 10 org.codehaus.jettison.mapped
[INFO] 40 org.dom4j
[INFO] 15 org.dom4j.io
[INFO] 2 org.dom4j.tree
[INFO] 110 org.eclipse.jetty.continuation
[INFO] 461 org.eclipse.jetty.http
[INFO] 53 org.eclipse.jetty.http.gzip
[INFO] 3 org.eclipse.jetty.http.ssl
[INFO] 444 org.eclipse.jetty.io
[INFO] 59 org.eclipse.jetty.io.bio
[INFO] 292 org.eclipse.jetty.io.nio
[INFO] 3 org.eclipse.jetty.jmx
[INFO] 306 org.eclipse.jetty.security
[INFO] 173 org.eclipse.jetty.security.authentication
[INFO] 967 org.eclipse.jetty.server
[INFO] 44 org.eclipse.jetty.server.bio
[INFO] 581 org.eclipse.jetty.server.handler
[INFO] 10 org.eclipse.jetty.server.handler.jmx
[INFO] 3 org.eclipse.jetty.server.jmx
[INFO] 109 org.eclipse.jetty.server.nio
[INFO] 390 org.eclipse.jetty.server.session
[INFO] 3 org.eclipse.jetty.server.session.jmx
[INFO] 170 org.eclipse.jetty.server.ssl
[INFO] 465 org.eclipse.jetty.servlet
[INFO] 6 org.eclipse.jetty.servlet.jmx
[INFO] 9 org.eclipse.jetty.servlet.listener
[INFO] 640 org.eclipse.jetty.util
[INFO] 167 org.eclipse.jetty.util.ajax
[INFO] 114 org.eclipse.jetty.util.component
[INFO] 200 org.eclipse.jetty.util.log
[INFO] 22 org.eclipse.jetty.util.preventers
[INFO] 162 org.eclipse.jetty.util.resource
[INFO] 73 org.eclipse.jetty.util.security
[INFO] 123 org.eclipse.jetty.util.ssl
[INFO] 19 org.eclipse.jetty.util.statistic
[INFO] 126 org.eclipse.jetty.util.thread
[INFO] 687 org.eclipse.jetty.websocket
[INFO] 10 org.ietf.jgss
[INFO] 11 org.jaxen
[INFO] 2 org.jaxen.dom
[INFO] 1 org.jaxen.dom4j
[INFO] 1 org.jaxen.jdom
[INFO] 52 org.jdom
[INFO] 5 org.jdom.input
[INFO] 10 org.jdom.output
[INFO] 15 org.jdom2
[INFO] 5 org.jdom2.input
[INFO] 4 org.joda.time
[INFO] 43 org.joda.time.format
[INFO] 1 org.kxml2.io
[INFO] 2 org.mortbay.log
[INFO] 5 org.mortbay.util.ajax
[INFO] 11 org.mozilla.javascript
[INFO] 23 org.python.core
[INFO] 4 org.python.util
[INFO] 17 org.slf4j
[INFO] 2 org.slf4j.helpers
[INFO] 12 org.slf4j.spi
[INFO] 57 org.w3c.dom
[INFO] 1 org.w3c.dom.traversal
[INFO] 34 org.xml.sax
[INFO] 7 org.xml.sax.helpers
[INFO] 78 org.xmlpull.mxp1
[INFO] 47 org.xmlpull.v1
[INFO] 3 org.zeroturnaround.javarebel
[INFO] 17 sun.misc


I'm guessing that the new version of Gdx is mostly to blame. I'm going to see if there's a way to get a version of Gdx with fewer methods, particularly removing ones we don't need.
I would suspect that we were already close to the limit and that upgrading libGDX may have bumped the number up over that limit. See if downgrading again fixes this.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge Android App

Postby drdev » 14 Dec 2014, 19:38

Actually, I think I found a way to exclude certain Gdx packages we don't use (like com.badlogic.gdx.graphics.g3d) without downgrading using the <excludePackageNames> directive in pom.xml. I'll let you know if that works.

EDIT: So that turned out to not work, as it's meant for javadocs, not compilation. What I'm going to do instead is checkout the libgdx source and compile a special set of dlls that exclude stuff we don't need. This way we can be on the latest version of libgdx and still get it to work for Android.

EDIT2: Success. I only had to build a new jar for the main gdx.jar project, excluding the g3d package and some other classes we don't use. Unfortunately, although I replaced the .jars in the libs folders, anyone else who wants to build things will need to manually copy those to their Maven repository.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 40 guests


Who is online

In total there are 40 users online :: 0 registered, 0 hidden and 40 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 40 guests

Login Form