android - 不使用 Android 为 Nativescript 构建应用程序
问题描述
我在为 android 应用程序构建 nativescript 时遇到问题。我可以构建应用程序,而 pne 一天,另一个构建崩溃了。我跑了'tns run android --bundle',它的日志错误是:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list:
Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.google.zxing.ChecksumException
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 27s
任何想法?
解决方案
推荐阅读
- sql - 如何在不更新整个表的情况下将 0 更改为 1 以执行算术运算
- kubernetes - Gitlab Runner 无法解析 Gitlab 服务器的 DNS
- python - 多处理执行比串行执行慢
- c# - 实体框架 - 在使用相同的依赖注入对象时切换数据库
- mysql - 如何为树中的所有父项检查表中字段的状态
- python - 如何使用 JSONField 类型元数据中的日期字段查询查询?
- java - Spring引导从属性文件加载包列表
- amazon-web-services - aws lambda 返回响应卡在 Amazon Lex 中引发 null 履行状态错误?
- java-8 - BlockingQueue vs PipedOutputStream and PipedInputStream
- firebase - 处理不属于 Firestore 中的集合的文档