如何将zxing编译成aar?
How to compile zxing to aar?
我是maven新手,如何从zxing项目编译aar库?
我尝试使用 axis2 maven 插件,但出现错误:
[ERROR] Failed to execute goal on project android: Could not resolve
dependencies for project com.google.zxing:android:jar:4.7.0: The
following artifacts could not be resolved:
com.google.zxing:core:jar:3.1.1-SNAPSHOT,
com.google.zxing:android-core:jar:3.1.1-SNAPSHOT: Could not find
artifact com.google.zxing:core:jar:3.1.1-SNAPSHOT
无论您尝试做什么,错误都如其所言。没有 3.1.1-SNAPSHOT 工件,直到您在本地创建和安装一个工件。您可以在顶层使用 mvn -DskipTests install
来做到这一点。另见 https://github.com/zxing/zxing/wiki/Getting-Started-Developing
我是maven新手,如何从zxing项目编译aar库? 我尝试使用 axis2 maven 插件,但出现错误:
[ERROR] Failed to execute goal on project android: Could not resolve dependencies for project com.google.zxing:android:jar:4.7.0: The following artifacts could not be resolved: com.google.zxing:core:jar:3.1.1-SNAPSHOT, com.google.zxing:android-core:jar:3.1.1-SNAPSHOT: Could not find artifact com.google.zxing:core:jar:3.1.1-SNAPSHOT
无论您尝试做什么,错误都如其所言。没有 3.1.1-SNAPSHOT 工件,直到您在本地创建和安装一个工件。您可以在顶层使用 mvn -DskipTests install
来做到这一点。另见 https://github.com/zxing/zxing/wiki/Getting-Started-Developing