0

I am getting these errors due to java native method in yguard:

Exception in thread "main" java.lang.NoSuchMethodError
Exception in thread “main” java.lang.UnsatisfiedLinkError
java.lang.IllegalArgumentException

How can I solve this problem?

Bohemian
  • 412,405
  • 93
  • 575
  • 722
sanatan
  • 1
  • 1
  • can you share your code? – Sandeep Kumar Dec 27 '19 at 08:47
  • Sorry ..!its company policy I can not share the code.but due to java native method I am getting those all kind of error. I found in "yGuard now issues a warning if the package or class or method name of a native method is obfuscated." in yguard web site.if possible please help me..! – sanatan Dec 27 '19 at 12:43
  • Can you give an *example* of code that would cause the problem then? – Bohemian Dec 27 '19 at 12:57
  • class Happy { public native void printText (); static { System.loadLibrary ("happy"); } public static void main (String[] args) { Happy happy = new Happy (); happy.printText (); } } – sanatan Dec 28 '19 at 06:34

0 Answers0