Android Question [Solved] Error Using Latest KeyValueStore b4xlib

mangojack

Expert
Licensed User
Longtime User
I have tried loading the latest KVS b4xlib on a project and get an Error on compile.

An error occurred
B4A line: 119
End Sub
shell\src\b4a\kvs\sample\keyvaluestore_subs_0.java:601:error:
cannot find symbol
if(RapidSub.canDelegate("putmapasync")) {return_
ref.runUserSub(false, "keyValuestore", "putmapasync", _ref, parent._map):}

^
symbol; variable parent

location; class keyvaluestore_subs_0


I am able to load this library without error on any other project. B4A / B4J

I have found that it is a single Module (Map) that is causing this.

A stripped project is attached.

B4a ver 10.2 / Open JDK 11.0.1 / SDK28

Any help appreciated.
 

Attachments

  • KVS Test.zip
    272.6 KB · Views: 234
Last edited:

stevel05

Expert
Licensed User
Longtime User
You should avoid creating Modules with the name of an existing Class Or Keyword. In this case Map
 
Upvote 0
Top