如何在科尔多瓦PhoneGap的安装吧codescanner-插件 - Eclipse进行Android应用程序科尔、应用程序、插件、多瓦

2023-09-13 00:18:22 作者:[ 痛经如茈多娇 ]

我可以得到帮助安装 http://phonegap.com/blog /构建/条codescanner-插件/ 上的PhoneGap,我使用ADK日食使用构建Android应用程序。这将AP preciate有人可以解释的插件安装过程中一步一步的。从混帐下载并安装该插件。

Can I get help to install http://phonegap.com/blog/build/barcodescanner-plugin/ on Phonegap, I'm using ADK eclipse to use build Android app. It would appreciate somebody can explain the plugin installation process step-by-step. From downloading from git and installing the plugin.

推荐答案

3.1,这里是我的作品:

With 3.1, here is what works for me:

创建项目

cordova create example com.example Example

更改到项目目录,然后添加机器人

Change to your project directory and then add Android

cd example
cordova platform add android

获取插件

cordova plugin add https://github.com/wildabeast/BarcodeScanner.git

生成项目

cordova build android

在这之后一切都似乎是在正确的地方。

After that everything appeared to be in the right place.