Program type already present : net.hockeyapp.android.CrashManager$1 #414
Comments
Hi, @avi2108. Thanks for reporting! |
hi @dtrabo Please find the dependencies. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. betaDebug betaDebugRuntimeClasspath - Dependencies for runtime/packaging |
@dtrabo ?? |
Hi @avi2108, It looks like you are using the library twice:
Please remove including old version from your gradle file: Thanks, |
I guess it's solved, so I'm closing this issue. Please reopen/comment if you have more questions or run into this again. |
Hi am using either of them only. Could you please provide me any solution regarding this? @MatkovIvan @dtrabo |
Hi @avi2108, The problem is you include the HockeyApp SDK in your gradle twice. Please leave only one version of the library. |
@MatkovIvan I am using either 3.5.0.jar or 5.1.1 . |
I see both versions in the tree that you shared above:
|
You probably don't need the old version of a lib, so you can just remove the file |
@MatkovIvan am using only v5.1.1 . still am getting same dex error bro. |
Well, the problem definitely is the SDK is used twice somehow. From messages above, I see that the SDK v3.5.0 is used from the file too. I can try to find and fix the issue in your gradle configuration if you share it. |
shall i share dependency tree again? |
@MatkovIvan what can i provide for ur further valuable investigation? |
resolved by exlcuding these things compile ('net.hockeyapp.android:HockeySDK:5.1.1@aar'){ |
Getting
Gradle details:
Gradle version 3.2.1
distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip
debugCompile files('debug-libs/HockeySDK-3.5.0.jar')
getting following error if
used implementation 'net.hockeyapp.android:HockeySDK:5.1.1'
The text was updated successfully, but these errors were encountered: