I am unable to generate android application for development testing, due to duplicate classes found in modules firebase-common-17.0.0-runtime (com.google.firebase:firebase-common:17.0.0) and firebase-components-16.1.0-runtime (com.google.firebase:firebase-components:16.1.0). The main problem is, I cant find in which plugins are both of these classes are located, hence unable to remove one to fix the issue. Can someone help me find a way to locate both of these classes or fix the issue in general?
I've attached the android build log below, and here are a list of plugins in the main module :
- BrightnessPlugin
- Common Plugin
- DetectVPN_Plugin
- FileDownload
- FirebaseMobile
- FirebaseRealtimeDatabase
- HTTPRequestHandler (extension)
- InAppBrowserPlugin
- JavaScriptTimingEvents
- MockGPSChecker
- NativePermissionsSettings
- OutSystemsCharts
- OutSystemsMaps
- OutSystemsUI
- PopupClickOutsideHandler
- RootJailbreakPlugin
- SettingsPlugin
- Users
Hello Jovi,
From the listing of plugins you provided clearly there are two Firebase plugins
Very likely the duplicate issue you are facing is due to the classes in these two components.
Talking about which one to remove, if you look at forge the Firebase Mobile plug is marked as deprecated.
Having that known, I would suggest removing Firebase Mobile would be your best bet. However, you need to check it's usage in the application and if it is being used then replace it with appropriate component.
Hope it helps!
Junaid
Dear Junaid, Thank you for you input and noticing that. I have already fixed that issue. Another error occurred (https://www.outsystems.com/forums/discussion/101836/how-to-fix-build-error-os-mabs-gen-40019-couldnt-compile-the-cordova-plugin/) when generating the application which I just posted on the forum and would like your input on that as well . But nevertheless this issue is fixed, much appreciated. Regards,Jovi