I’ve put off building with Enterprise for a while, as I was able to do what I needed using the simulator.
However now I want to use Enterprise, and I’m having some trouble. I removed all of the files in my projects libs folder, so that I could make sure they were all using up to date version instead.
First of all, I’ve found that there are a few different plugins which have a file called “classes.jar”. Obviously if I already have one classes.jar file in my libs folder and then add another, the first one will be overwritten. Is there a way to combine them into one? If not, how do you use 2 plugins which both have a file with the same name?
Secondly, I’m having trouble getting a few things to work.
When building I’m getting this error, but can only see one file which contains this function unless I’m overlooking it (CoronaProvider.gameNetwork.google.jar):
[dx] UNEXPECTED TOP-LEVEL EXCEPTION:
[dx] com.android.dx.util.DexException: Multiple dex files define LCoronaProvider/gameNetwork/google/GameHelper$1;
The app still builds, even though it has a failed message.
Then when I try and call a gamenetwork function, I get this:
WARNING: The ‘gameNetwork’ library is not available on this platform.
08-15 18:53:57.238: V/Corona(18185): > Class.forName: CoronaProvider.gameNetwork.google.LuaLoader
08-15 18:53:57.238: I/dalvikvm(18185): Could not find method com.google.android.gms.games.GamesClient.loadAchievements, referenced from method CoronaProvider.gameNetwork.google.LuaLoader.request
I’m getting a bit confused about which files should and shouldn’t be included. It would seem that I’ve made a mistake somewhere, but I’m not sure where.