Android Question Need help to solve java.lang.VerifyError

susu

Well-Known Member
Licensed User
Longtime User
Hi all,

I'm trying to integrate new AirPush library (B4A plugin & document can be found here). It seems too easy like another wrap libraries however my sample app always crash when I open it.

I asked AirPush supporter for help and they send me their sample code. It's OK to compile but still crash when open.
I sent them my sample code (which compile OK but crash when open) and it's just fine when they try it.
I'm really confused! After all, I found there's error in logcat and I'm totally don't know about it.
If you can help please show me the solution. Thank you so much.

B4X:
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
java.lang.VerifyError: com/yrkfgo/assxqx4/a
    at com.yrkfgo.assxqx4.Bun.<init>(SourceFile:97)
    at com.example.airpushBundle2.BundleSmartwallActivity.callSmartWallAd(BundleSmartwallActivity.java:20)
    at b4a.example.main._activity_create(main.java:278)
    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 b4a.example.main.afterFirstLayout(main.java:98)
    at b4a.example.main.access$100(main.java:16)
    at b4a.example.main$WaitForLayout.run(main.java:76)
    at android.os.Handler.handleCallback(Handler.java:615)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4886)
    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:790)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
    at dalvik.system.NativeStart.main(Native Method)
 

susu

Well-Known Member
Licensed User
Longtime User
Hi Erel,
I tested on real device.
The screenshot is their Paths Configuration. I did it exactly the same but it still crash.
Hope you can help. Thank you.


librariessetpath-png.28415
 

Attachments

  • LibrariesSetpath.png
    LibrariesSetpath.png
    53.3 KB · Views: 322
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
Erel, I sent you my sample project via PM. Please test it when you have free time. Thanks.
 
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
My device is Android 4.1.2.
 
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
Ok, I will send them. Thank you.
 
Upvote 0
Top