Hello,
I have B4A in the version 6.5, and wanted to test Leadbolt times again.
Apptracker: Version 8.0
ApptrackerB4A: Version 2.2
Now I always get the error:
Line 39 is: AppTracker.startSession(True)
The error I get in the B4A Example of Leadbolt (https://help.leadbolt.com/using-b4a-android/) as well as in my app.
Maybe someone has experience or is the error in the current Library of Leadbolt? I used it once in times, at that time everything worked perfectly.
I have done everything as described by Leadbolt in the manual.
Someone has perhaps an idea? : /
I have B4A in the version 6.5, and wanted to test Leadbolt times again.
Apptracker: Version 8.0
ApptrackerB4A: Version 2.2
Now I always get the error:
Line 39 is: AppTracker.startSession(True)
B4X:
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Error occurred on line: 39 (Main)
java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:225)
at com.apptracker.android.track.AppTracker.i(a:755)
at com.apptracker.android.track.AppTracker.startSession(a:91)
at com.apptracker.android.track.AppTracker.startSession(a:168)
at com.apptracker.android.track.AppTracker.startSession(a:89)
at com.apptracker.b4a.android.AppTrackerB4A.startSession(AppTrackerB4A.java:67)
at com.lbtest.main._activity_create(main.java:399)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:708)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:340)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at com.lbtest.main.afterFirstLayout(main.java:102)
at com.lbtest.main.access$000(main.java:17)
at com.lbtest.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6688)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
** Activity (main) Resume **
The error I get in the B4A Example of Leadbolt (https://help.leadbolt.com/using-b4a-android/) as well as in my app.
Maybe someone has experience or is the error in the current Library of Leadbolt? I used it once in times, at that time everything worked perfectly.
I have done everything as described by Leadbolt in the manual.
Someone has perhaps an idea? : /
Last edited: