azhon / AppUpdate

Android App update library. Android版本更新库,简单、轻量、可随意定制
Apache License 2.0
2.23k stars 326 forks source link

升级到最新AS插件版本后,依赖4.2.3版本编译通不过 #136

Closed SoStrongMan closed 1 year ago

SoStrongMan commented 1 year ago

Bug标题 Android Studio升级到海豚版本,插件升级到了7.3.0版本,Gradle版本是7.4,依赖最新的4.2.3版本,编译通不过,报“java.lang.RuntimeException: Using multiple versions of the Android Gradle plugin(7.1.2, 7.3.0) in the same build is not allowed”

复现步骤 按照Bug标题内容集成,百分百复现

错误Logcat日志截图 image

软件版本信息

额外有用的信息 就算是把AS插件版本、Gradle版本降级到之前没出问题的版本号,只要升级到4.2.3版本,还是报同样的问题。

azhon commented 1 year ago

把插件版本降到7.1.2即可

image
SoStrongMan commented 1 year ago

把插件版本降到7.1.2即可 <img alt="image" width="640" src="https://user-images.githubusercontent.com/20559556/192214223-1e629385-27d6-4a94-b008-8be8ca8b893e.png"

别的第三方库都没有这个问题,为什么作者这个就有这个问题,是不是可以考虑从根本上解决?

azhon commented 1 year ago

待研究研究🧐

SoStrongMan commented 1 year ago

待研究研究🧐

加油,看好你!修复这个问题,我觉得至关重要!!!

luyun181 commented 1 year ago

++1

azhon commented 1 year ago

已在4.2.4版本修复