BUILD FAILED on a new installation
See original GitHub issue* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.support.v4.app.FrameMetricsAggregator$FrameMetricsApi24Impl$1
I tried cordova clean
and the solution in #70 with no luck.
project.properties
# Project target.
target=android-28
android.library.reference.1=CordovaLib
android.library.reference.2=app
cordova.gradle.include.1=cordova-support-google-services/igbau-build.gradle
cordova.system.library.2=com.google.firebase:firebase-core:16.0.+
cordova.system.library.3=com.google.firebase:firebase-messaging:18.0.+
cordova.system.library.4=com.android.support:support-compat:28.+
cordova.system.library.5=me.leolin:ShortcutBadger:1.1.22@aar
package.json
"dependencies": {
"cordova-android": "^8.0.0",
"cordova-plugin-calendar": "^5.1.4",
"cordova-plugin-firebase-messaging": "^2.1.6",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-whitelist": "^1.3.3"
},
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-calendar": {},
"cordova-plugin-firebase-messaging": {
"FIREBASE_CORE_VERSION": "16.0.+",
"FIREBASE_MESSAGING_VERSION": "18.0.+",
"ANDROID_SUPPORT_VERSION": "28.+"
}
},
"platforms": [
"android"
]
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Build error after package installation failed #23437 - GitHub
When package installation failed, strange error sometimes appears in console. I can fix it manually, but it is some type of bug in...
Read more >last Dev. Channel build failed to install - Microsoft Community
hi,. I tried twice but the latest build in the Dev. Channel failed to install. When restarting, it was working on update but...
Read more >TestFlight build fails to install | Apple Developer Forums
I've uploaded an initial build of my app for TestFlight and enabled it for internal and ... The install fails right before the...
Read more >pyenv install: 3.x BUILD FAILED (Ubuntu 20.04 using python ...
I have all the dependencies installed but 3.7.3 still fails for me. With two warnings "WARNING: The Python ctypes extension was not compiled....
Read more >TeamCity On-Premises - Build Failure Conditions - JetBrains
In the Common Failure Conditions block, you can specify how exactly TeamCity will fail builds. Set Custom Build Execution Timeout. The if it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sean-hill try this:
@chemerisuk anything we can do to further debug this issue?