250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- alb
- selenium
- Android
- https
- AWS
- 안드로이드
- MacOS
- PostgreSQL
- 구글 API
- Vue
- pip
- window
- MYSQL
- ubuntu
- FCM
- mac
- nginx
- python
- OAuth
- Vue.js
- 파이썬
- Prometheus
- Cordova
- 해시키
- Laravel
- flutter
- Passport
- php
- SSH
- node
Archives
- Today
- Total
print( sjw.iq == 200) output : true
[Cordova] Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. 본문
HYBRID
[Cordova] Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
sjwiq200 2020. 1. 29. 22:18728x90
반응형
cordova 로 안드로이드를 빌드하려고 하는데
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: android.support.v4.os.ResultReceiver$1
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
다음과 같은 오류가 발생했습니다....
cordova plugin을 하나 추가해줬을 뿐인데...
Cordova Version은 9.0.0
Cordova-Android Version은 8.0.0 이였구요!
아마도...? 플러그인끼리 충돌이 일어나서 Merge관련 에러를 뱉는 것 같습니다...
한참을 삽질하다가...
해당 플러그인을 설치해주면 해결된다는 것을 발견했습니다...
cordova plugin add cordova-plugin-androidx
cordova plugin add cordova-plugin-androidx-adapter
# AndroidX 란?
# AndroidX는 기존 Android 지원 라이브러리를 크게 개선한 것으로 Android 플랫폼과 별도로 제공되며 릴리스 전체에서 이전 버전과의 호# 환성을 제공합니다.
역시나 간단한 문제였는데 시간을 좀 많이 버렸네요 ㅠㅠ
감사합니다.
참고자료 :
https://github.com/chemerisuk/cordova-plugin-firebase-analytics/issues/119#issuecomment-521445688
728x90
반응형
'HYBRID' 카테고리의 다른 글
[Cordova] Cordova Android Release 배포 (2) | 2020.01.29 |
---|---|
[Cordova] Plugin 만들기 (0) | 2019.12.23 |
[Hybrid] 네이버 맵 URL 등록 (0) | 2019.12.04 |
Comments