Android Question Problem with Lockscreen library - Cannot compile ?

henrywood

Active Member
Licensed User
Longtime User
Hi !

Trying to use the lockscreen library, I get "Module lockscreen" not found error when compiling ???

Log has no info....

Any ideas ?
 

DonManfred

Expert
Licensed User
Longtime User
Trying to use the lockscreen library, I get "Module lockscreen" not found error when compiling ???
Log has no info....
Any ideas ?
you forgot to add the Module LockScreen.bas from the example to your new project.

copy the LockScreen.bas to your Projectdir and then in the ide you use
addmodule0003.png

and then select the lockscreen.bas

Recompile again then


--------------------------------
to be more precise

addmodule0004.png


lockscreen.b4a and lockscreen.b4a.meta is the project itself. In the ide it is the MAIN module

LockScreen.bas is the module LockScreen which is added to the Project as described.

When you use such example then the module is already added. When you create a new Project you need to add the module by yourself
 
Last edited:
Upvote 0

henrywood

Active Member
Licensed User
Longtime User
Thx for the feedback. However, the compile error disappeared once I renamed my Lockscreen Activity from LockScreenAdViewer (which I then had put in the Manifest) to simply LockScreen (and changed the value to LockScreen in the manifest)
 
Upvote 0
Top