1000sj
SJ CODE
1000sj
전체 방문자
오늘
어제
  • 분류 전체보기
    • Security
      • 네트워크
      • 보안
      • CTF
      • Exploit
    • System Programming
      • Kernel
      • Operating System
      • Compiler
      • Device Driver
      • Emulator
      • Parrelel Processing
      • Assembly
    • Application Programming
      • Script
      • Android
    • Cloud Computing
      • Cloud Native
      • Public Cloud
      • Infrastructure
      • Database
      • DevOps
    • TroubleShooting
    • ETC
      • 문화 생활
      • 커뮤니티

인기 글

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
1000sj

SJ CODE

Application Programming/Android

[Android] Manifest merger failed

2021. 8. 25. 23:56

Error Log

Manifest merger failed with multiple errors, see logs

Merged Manifest

Manifest merger failed : Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:31:5-163:19 to override.

 

Solution

gradle.properties에 아래 두 줄 추가

android.useAndroidX=true
android.enableJetifier=true

Manifest 파일에서 tools:replace="android:appComponentFactory" 삭제

 

 

 

 

  • Ref

https://stackoverflow.com/questions/53268865/android-x-toolsreplace-specified-at-line-for-attribute-but-no-new-value-spec

'Application Programming > Android' 카테고리의 다른 글

[Android/Kotlin] Coroutines  (0) 2021.08.30
[Android] Jetpack Compose  (0) 2021.08.05
[Android/Kotlin] Kotlin extension  (0) 2021.07.08
[Android/Kotlin] Room을 사용하여 로컬 데이터베이스에 데이터 저장  (0) 2021.07.08
[Android/Firebase] Firebase CRUD  (0) 2021.07.03
    'Application Programming/Android' 카테고리의 다른 글
    • [Android/Kotlin] Coroutines
    • [Android] Jetpack Compose
    • [Android/Kotlin] Kotlin extension
    • [Android/Kotlin] Room을 사용하여 로컬 데이터베이스에 데이터 저장
    1000sj
    1000sj

    티스토리툴바