Integrating the ZXing library directly into my Android application

后端 未结 17 1636
[愿得一人]
[愿得一人] 2020-11-22 04:35

I\'m writing this in mere desperation :) I\'ve been assigned to make a standalone barcode scanner (as a proof of concept) to an Android 1.6 phone.

For this i\'ve dis

17条回答
  •  一个人的身影
    2020-11-22 05:21

    The

    compile 'com.google.zxing:core:2.3.0'
    

    unfortunately didn't work for me.

    This is what worked for me:

    dependencies {
       compile 'com.journeyapps:zxing-android-embedded:3.0.1@aar'
       compile 'com.google.zxing:core:3.2.0'
    }
    

    Please find the link here: https://github.com/journeyapps/zxing-android-embedded

提交回复
热议问题