Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 623 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 623 Bytes

ZXing-C++ Android Library

To use the Android (wrapper) library in other apps, it is easiest to build the library project and include the resulting AAR (Android Archive) file in your app.

Build

  1. Install AndroidStudio including NDK and CMake (see 'SDK Tools').
  2. Open the project in folder containing this README.
  3. The project contains 2 modules: zxingcpp is the wrapper library, app is the demo app using zxingcpp.

To build the AAR (Android Archive) from the command line:

$ ./gradlew :zxingcpp:assembleRelease

Then copy zxingcpp/build/outputs/aar/zxingcpp-release.aar into app/libs of your app.