Skip to content Skip to sidebar Skip to footer

Eclipse Android Project Throws Class Not Found Error During Runtime

I am trying to incorporate ZXing into my own android app via intent, and am having difficulty. I can compile my code fine, but when it tries to call the following after a button cl

Solution 1:

So it turns out the problem was with the way that I was adding the library to Eclipse. I was right clicking the /libs folder, and importing the file into the project. On the import page where you select the type of file you are importing I clicked "Archive" which seemed to make sense for a "Java ARchive" file. This is wrong the way I finally got it to work was to:

place the .jar file into my workspace/project/libs folder on the filesystem side

open project in Eclipse

right click /libs

select import

select "File System"

select the /libs folder

select the jar file

Post a Comment for "Eclipse Android Project Throws Class Not Found Error During Runtime"