Any update on this issue Erel?Exactly that's what is so confusing because it shows up but yet it gives me that error posted above.
Do you have any clues as to why this might be?
Thanks,
Walter
Any update on this issue Erel?Exactly that's what is so confusing because it shows up but yet it gives me that error posted above.
Do you have any clues as to why this might be?
Ok now it compiles and creates the xml and jar files, i can see the library under the libs tab, but when i try to declare a variable as the name of the shortname nothing comes up, why is that?
This was when i tried to compile the library with the SLC tool, but never mind that, i got it to compile just fine, but i still get the same error which isWhat is the error?
You wrote:
java.lang.NoClassDefFoundError: com.genesis.hapi.hapipay
at com.genesis.mobilerep.main._activity_create(main.java:318)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at com.genesis.mobilerep.main.afterFirstLayout(main.java:98)
at com.genesis.mobilerep.main.access$100(main.java:16)
at com.genesis.mobilerep.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Hi Erel, yes i have already tried creating a new class referencing a different jar file, and it works, so yeah my guess also is that the problem is with the hapi library.Note that you should not extend AbsObjectWrapper if the class includes an instance field.
My guess is that the actual problem is in the hapi library and the error message is misleading. As a test try to create a new class which doesn't reference the Hapi library and see whether you get the same error.