Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2009

    Error preverifying class com.nokia.mid.sound.Sound$1

    I am trying to execute this: http://wiki.forum.nokia.com/index.ph...e_screen_saver
    and I always get this error during the Build: "Error preverifying class com.nokia.mid.sound.Sound$1"

    I am using the Java ME SDK 3.0 (not Netbeans) as IDE, and I added the nokiaui.jar file in the Resources. I have looked around other threads discussing the same issue and most of them have pointed that we need a Nokia emulator, can somebody please help me in how to add a Nokia emulator and where can I find that? Or let me know if I am doing something else wrong.


  2. #2
    Registered User
    Join Date
    Aug 2009

    Post Re: Error preverifying class com.nokia.mid.sound.Sound$1


    It´s not necessary include nokiaui.jar. What you have to do is include Nokia SDK in Netbeans. take a look these steps and see how to include new SDK if you don´t know:
    - download Nokia SDK (s40 or s60). Check out which one your cellphone is.
    select your device device you´ll have a link to download Nokia SDK

    - install Nokia SDK
    - Open Netbeans
    - Click Tools ... Click Java Plataform... Add Plataform .. Select Java ME MIDP Emulator... wait netbeans find out your Nokia SDK if not click Find more Java...
    and Select your Nokia SDK Folder.
    - To Finish confirm all windows.

    Now when you create a new project select Nokia SDK.
    If you already a project go to project properties and select it.

    Remember to check Nokia User Interface in Optional package in project properties

    Ready go! Nokia UI and Nokia Sounds works!

    One more Thing that code just works on Nokia Devices right!

  3. #3
    Regular Contributor
    Join Date
    Dec 2009

    Re: Error preverifying class com.nokia.mid.sound.Sound$1


    Just for others users to know:
    Problem: I am using Nokia N97 (hence added the N97 SDK on NetBeans), and thus I am able to build the code successfully using NetBeans. But when I include the nokiaui.jar in the Resources, while installing the application on the N97 cellphone, it gives an "Authorization Failed" error.
    1) Manually remove the nokiaui.jar from the jar file of the built application, then no error is shown, and the application runs properly on the actual device.
    2) Goto Properties -> Platform -> Optional Packages, and check the "Nokia User Interface 1.3" option.
    Last edited by mohitrb1; 2010-04-04 at 17:27.

Similar Threads

  1. Decompress then save again as contact to phone book, it is possible?
    By bytescode in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2009-08-31, 16:04
  2. Error loading connection when obfuscation high?
    By ejakkk in forum Mobile Java General
    Replies: 8
    Last Post: 2009-06-26, 12:54
  3. [moved] help me for some issues in DLL
    By sean_bean in forum Symbian
    Replies: 0
    Last Post: 2009-03-05, 10:27
  4. External Linking Error (Undefined Symbol)
    By nile_mail in forum Symbian
    Replies: 2
    Last Post: 2008-08-05, 13:10
  5. Exceptions while loading application
    By avinash_rs in forum Mobile Java General
    Replies: 0
    Last Post: 2003-06-09, 10:53

Posting Permissions

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