

In new project -> File -> Import module -> Search and select /android/ OK -> Create module from existing sources Next -> Next -> Next -> Next -> Finish I see Error in Switch cases of ZXing project in androidįile -> New project -> zxing_demo Next -> Next -> Blank Activity Next -> Finish (android) OK -> And OK in the Project Structure Dialog.Īll errors are error: constant expression required and With Project Open -> Build -> Rebuild projectįile -> project Structure -> Libraries -> Add -> Java -> Select core.jar that i create before and OK -> Library 'core' will be added to the selected modules. all checked Next -> Libraries (cant do nothing) Next -> Modules (android checked) Next -> SDK 1.7 Next -> Finish

In the commandline window - Type 'ant -f core/build.xml' press enter and let Apache work it's magicĪt this moment is like Integrating the ZXing library directly into my Android applicationīut Wooops, "Buildfile: core\build.xml does not exists! Build failed.With the use of Windows Commandline (Run->CMD) navigate to the extracted directory.

I'll start explaining all the steps I have done and in the end what is the problem.
