Android Question Problem with Lockscreen library - Cannot compile ?

Discussion in 'Android Questions' started by henrywood, Apr 28, 2015.

  1. henrywood

    henrywood Active Member Licensed User

    Hi !

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

    Log has no info....

    Any ideas ?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Seems like your project is missing a code module (I'm not familiar with this library).
  3. DonManfred

    DonManfred Expert Licensed User

    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
    and then select the lockscreen.bas

    Recompile again then

    to be more precise


    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: Apr 28, 2015
    thedesolatesoul likes this.
  4. henrywood

    henrywood Active Member Licensed 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)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice