Android Question Simple Library Compiler: "package does not exist"

Discussion in 'Android Questions' started by JiggyMan, Jul 6, 2015.

  1. JiggyMan

    JiggyMan Member Licensed User

    I've used the tutorial for creating some simple B4A libraries without any problems. They didn't do much, I just wanted to make sure I understood how to do it.

    Now I'm working on a real project and I've run into a snag. I downloaded the Apache Commons IO library and referenced it in my Eclipse project (Build Path > Configure Build Paths > Libraries > Add External JAR). I then imported it into my project:
    I used the FileUtils class of this library in my project. Eclipse doesn't show any errors or warnings regarding the way I've used it but when I try to compile it with the Simple Library Compiler (great tool!), I get the following message:
    Can someone tell me if I've missed something, or done something wrong?
  2. DonManfred

    DonManfred Expert Licensed User

    add a line
    and copy the file commons-io-2.4.jar to your additional libraries dir
  3. JiggyMan

    JiggyMan Member Licensed User

    Thanks for the reply. Unfortunately, that did not make any difference. Any other suggestions?
  4. Erel

    Erel Administrator Staff Member Licensed User

    JiggyMan likes this.
  5. JiggyMan

    JiggyMan Member Licensed User

    Yep, that did the trick. Somehow I totally missed that line when I read the tutorial. Thanks, Erel.
  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