Sign in to follow this  
Moose6912

Nokia API and Retroguard

Recommended Posts

Moose6912    122
I'm using Retroguard,WTK 1.1 to obfuscate a midlet that contains calls to Nokia's API like FullCanvas.Halfway through obfuscating,i've received an error "# java.lang.ClassNotFoundException: com.nokia.mid.ui.FullCanvas java.lang.ClassNotFoundException: com.nokia.mid.ui.FullCanvas" How do i resolve this error?The midlet could be build with no problem and runs perfectly well in my 7210 Nokia emulator.Only obfuscating brought on this error.

Share this post


Link to post
Share on other sites
Skizz    794
You'll need to provide the JAR/zip file continaing the Nokia classes to the obfuscator as libraries, (i.e. they, or calls to them, don't get their names changed and so on.

Don't know the exact options to do this though.

Skizz

Share this post


Link to post
Share on other sites
Moose6912    122
Quote:
Original post by shmoove
This has been discussed to death on the Nokia forums, and there are many different ways to solve it there.

shmoove

PS: I like Proguard much better than Retroguard for obfuscation.


Anyway,i've solved the problem by using WTK 2.0 and Proguard to do the obfuscating of my MIDP 1.0 midlet instead.I think i will uninstall Retroguard now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this