[英]How to open Zxing project in Android Studio and compile it?
I downloaded the Zxing project and I'd like to open it in Android Studio and compile it. 我下载了Zxing项目,并希望在Android Studio中将其打开并进行编译。
How can I do that? 我怎样才能做到这一点?
Create a new Java library module: 创建一个新的Java库模块:
Copy Zxing source code to this folder: 将Zxing源代码复制到此文件夹中:
Ctrl+Shift+F9 to build this module. Ctrl + Shift + F9构建此模块。
Select your main project and press F4 to open project structure. 选择您的主项目,然后按F4打开项目结构。 Click dependencies and add the Zxing module:
单击依赖项,然后添加Zxing模块:
Now you can use Zxing Classes and build your Android project. 现在,您可以使用Zxing类并构建您的Android项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.