Android Question [Solved] - KeyValueStore missing library reference error when trying to compiling app

rleiman

Well-Known Member
Licensed User
Longtime User
Greeting Everyone,

Can you tell me why the KeyValueStore library is giving this error in the logs when I try to compile my app and how to correct it?

B4X:
Unknown type: b4xbitmap<br />Are you missing a library reference?

[IDE message - 4:17:40]
An error occurred.
Error parsing program.
Error description: Unknown type: b4xbitmap
Are you missing a library reference?
Error occurred on line: 124 (KeyValueStore)
Public Sub GetBitmap(Key As String) As B4XBitmap

Thanks.
 

rleiman

Well-Known Member
Licensed User
Longtime User
Add a reference to XUI.
Thanks so much. I was searching all over the app for any references to "GetBitmap" without finding it in the app. I never thought it was in XUI. It's an old app and I'm sure if I did it as a brand new app, the XUI library reference would be already in the app by default if I started it as a new project.
 
Upvote 0
Top