Package com.google.zxing missing in Zxing barcode library for Android
What a headache to see the classes in the download.zip's core folder but there is no "core.jar", so here's where to get that jar file...
https://github.com/zxing/zxing/wiki/Getting-Started-Developing
- Under "Just Need a Jar", click the "Maven release repository" link.
- Click "core/"
- Click on the Zxing version you downloaded.(Though mine is 4.7.5 (shown on zip folder name) it worked with version 3.2.1
- Click on core-x.x.x.jar to download. (x's are version number)
I put that core.jar where the Zxing project folder is, inside core folder so I wouldn't lose it.
After that, (if using Eclipse)
- Right click CaptureActivity project -> Build Path -> Configure BuildPath
- (Left Side Select) Java Build Path
- Libraries tab
- Add External JARs...
- Select the core-x.x.x.jar previously downloaded
- Click OK
This took all those missing errors away for me, but left errors in switch statements that I read needs to be changed to if/else statements, but that's for another topic.