提问人:Ashish Singh 提问时间:11/8/2023 最后编辑:Ashish Singh 更新时间:11/8/2023 访问量:33
重复类离子电容器插件问题
Duplicate class Ionic capacitor plugin issue
问:
我正在使用“@awesome-cordova-plugins/app-rate”: “^6.2.0” 和 “@capawesome/capacitor-app-update”: “^5.0.1” 在我的应用程序上实现应用程序审查和应用程序更新功能。 在尝试构建时遇到以下问题。两个插件都可以单独正常工作 -
在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.AppUpdateInfo 在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.AppUpdateManager 在 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 模块中找到重复的类 com.google.android.play.core.appupdate.AppUpdateManagerFactory 在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.AppUpdateOptions 在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.AppUpdateOptions$Builder 在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.testing.FakeAppUpdateManager 在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.zza 在模块 jetified-app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) 和 jetified-core-1.10.3-runtime (com.google.android.play:core:1.10.3) 中找到重复的类 com.google.android.play.core.appupdate.zzaa
问题是同时使用两个插件时构建失败。 请提出任何解决方案,提前致谢!
答: 暂无答案
评论