Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ProGuard Clarification

 
Ronakkumar Patel
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Just need to clarify one thing.

I put the required .jar file in BIN directory of the WTK of ProGround.
Now when i create obfuscated package it gives me the following erros.
But my .jar file is reduce also (Initally it was 106K now it is 104k)
I need to know does thie error means anything. or I can just go and Use the 104k jar file to run my game.

ProGuard, version 3.3
Reading program jar [C:\WTK22\apps\EXVocalGame\bin\EXVocalGame.jar]
Reading library jar [C:\WTK22\lib\mmapi.jar]
Reading library jar [C:\WTK22\lib\midpapi20.jar]
Reading library jar [C:\WTK22\lib\wma11.jar]
Reading library jar [C:\WTK22\lib\cldcapi10.jar]
Preparing output jar [C:\Documents and Settings\Ronakkumar Patel\Local Settings\Temp\EXVocalGame.jar]
Copying resources from program jar [C:\WTK22\apps\EXVocalGame\bin\EXVocalGame.jar]
Note: duplicate definition of library class [javax.microedition.media.Control]
Note: duplicate definition of library class [javax.microedition.media.Controllable]
Note: duplicate definition of library class [javax.microedition.media.Player]
Note: duplicate definition of library class [javax.microedition.media.MediaException]
Note: duplicate definition of library class [javax.microedition.media.PlayerListener]
Note: duplicate definition of library class [javax.microedition.media.Manager]
Note: duplicate definition of library class [javax.microedition.media.control.ToneControl]
Note: duplicate definition of library class [javax.microedition.media.control.VolumeControl]
Note: duplicate definition of library class [javax.microedition.media.protocol.DataSource]
Note: duplicate definition of library class [com.sun.cldc.i18n.j2me.UTF_8_Reader]
Wrote C:\WTK22\apps\EXVocalGame\bin\EXVocalGame.jar
Wrote C:\WTK22\apps\EXVocalGame\bin\EXVocalGame.jad
Build complete
 
gsd
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think you need to worry about the notes. The javax.microedition.media.xxx notes are due to the fact that the classes are present in both the mmapi.jar and midpapi20.jar.

Obfuscating Java byte-code usually reduces the total size, so your jar file change should be expected.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic