【问题标题】:Ruboto barcode tutorial, build failsRuboto 条码教程,构建失败
【发布时间】:2014-07-12 05:49:07
【问题描述】:

浏览了 ruboto 条形码扫描仪的教程,我遇到了一个我无法弄清楚的问题。

首先,教程在这里https://github.com/ruboto/ruboto/wiki/Tutorial%3A-barcode-scanning#add-the-zxinglib-utility-project

这是我的存储库https://github.com/alucero270/ruboto_barcode_scanner-

我完成了教程给出的所有步骤,但我不太明白这个声明中要求做什么:

复制你的项目之外的android-zxinglib-1.0/ZXingLib目录。

除此之外,其他的都照着做

当我运行 rake install start 时:

BUILD FAILED /home/alex/android-sdk-linux/tools/ant/build.xml:577: ../ZXingLib resolve to a path with no project.properties file for

项目 /home/alex/Ruby/ruboto/barcode_scanning

总时间:0 秒 rake 中止!命令失败,状态为 (1): [蚂蚁调试...]

任何帮助将不胜感激,并提前感谢

【问题讨论】:

    标签: android ruby jruby zxing ruboto


    【解决方案1】:

    在上一步 (https://github.com/ruboto/ruboto/wiki/Tutorial%3A-barcode-scanning#add-the-zxing-core-jar-to-your-project) 中,系统会要求您下载 ZIP 文件。在该 ZIP 文件中有一个名为“android-zxinglib-1.0/ZXingLib”的目录。您应该提取该目录并将其放在您的项目目录所在的同一目录中,因此它们并排放置。

    “ZXingLib”目录是通过路径“../ZXingLib”从您的项目中引用的,因此请确保其放置正确。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-10
      • 2016-11-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-26
      • 2018-06-29
      • 2022-11-30
      相关资源
      最近更新 更多