JamieB
JamieB

Reputation: 923

NoMethodError J2ME Codename One

I am currently getting the following error on second startup on a single device we are testing on.

java/lang/NoSuchMethodError: No such method R.(Ljava/lang/String;)V.

Now the problem is because we don't control the build (it is built in the cloud) we are unable to disable Obfuscation so I can't see the method name that isn't available.

I have read online that it can be a problem with interface methods not being marked as abstract but I have gone through the project and made all methods abstract, no difference.

Upvotes: 0

Views: 55

Answers (1)

Chen
Chen

Reputation: 3760

You can add a build hint to the build server j2me.obfuscation=false to disable obfuscation.

Upvotes: 1

Related Questions