Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2008

    Obfuscation Erro With NetBeans 6.1

    HI all,
    im having one J2ME application.which im trying to obfuscate.But getting some error like

    Note: there were 39 duplicate class definitions.
    Error: You have to specify '-keep' options for the shrinking step.
    D:\Projects\Current\PolluxCC2GO\nbproject\build-impl.xml:413: Obfuscation failed with error code 1.
    BUILD FAILED (total time: 2 seconds)

    i tried putting "-keep" option and level of obfuscation at 1.but error persists.

    Is there anything to keep in mind while obfuscating or additional settings which i have to do???
    Please help me out.

    Sandeep Gadhvi.

  2. #2
    Regular Contributor
    Join Date
    Jul 2008

    Re: Obfuscation Erro With NetBeans 6.1

    I am also facing this problem

  3. #3
    Regular Contributor
    Join Date
    Mar 2008

    Re: Obfuscation Erro With NetBeans 6.1

    hi sandeepsandeep,
    if u want to use obfuscation level 1 then u must spesify additional setting too. example put this line to Additional Obfuscation Settings :
    -defaultpackage ''
    -keep public class ** extends javax.microedition.midlet.MIDlet

    may it helps
    adek aidi

Similar Threads

  1. NetBeans 6.1 cannot access java.lang
    By Haris Hasan in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2008-08-15, 13:30
  2. Netbeans obfuscation results preverification error
    By sirius_5 in forum Mobile Java Games
    Replies: 3
    Last Post: 2006-11-25, 18:23
  3. integration Carbide.j 1.0 and Netbeans 5.0
    By ovjo12 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-02-16, 07:48
  4. Replies: 0
    Last Post: 2004-08-25, 11:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts