【问题标题】:Android jitpack needs clean build on each releaseAndroid jitpack 需要在每个版本上进行干净的构建
【发布时间】:2017-11-09 09:16:20
【问题描述】:

我正在构建一个在 git hub 上具有垂直轨迹的视图,并将其添加到 jitpack,但每次我发布一个使用 gradle 下载包时,我都必须进行干净的 Re-build() .

错误:

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: 无法合并dex

gitignore有关系吗?

回购:https://github.com/Mohammad-Tabbara/TrailedSheet

注意:我刚刚更改了 .gitignore

【问题讨论】:

    标签: android android-gradle-plugin jitpack


    【解决方案1】:

    我的问题已经解决,它与使用的 .gitignore 有关:

    https://github.com/github/gitignore/blob/master/Android.gitignore

    现在一切都很好。

    如果有人愿意分享,很想知道原因。

    到目前为止,接缝工作。

    【讨论】:

      猜你喜欢
      • 2011-10-10
      • 1970-01-01
      • 2018-11-15
      • 2013-07-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-07
      • 2016-06-24
      相关资源
      最近更新 更多